Hello,
 
 
I tried to use the NumberFormatter but without any luck...  I checked the MM documentation but no luck either...
 
There is a sample here 
 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/formatters/NumberFormatter.html
 
but when I enter 0.000000023   the formatted output is : 2.3e-8.  and I would like to see what I entered instead, 0.000000023.... it's very frustrating....
 
Valy
 
 
 
 
 
 

Dimitrios Gianninas <[EMAIL PROTECTED]> wrote:
Did you try using the NumberFormatter class for display purposes in your DataGrid?
 
Or perhaps you need to create a CellRenderer to display the values correctly in the DataGrid
 
Jimmy Gianninas
Software Developer - Optimal Payments Inc.
 


From: Valy Sivec [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 10:24 PM
To: [email protected]
Subject: Re: [flexcoders] Number Format issue. I need help.

I spent some time without figuring out a way to format
a number in double precision.

I have a grid and below it a total field that should
sum the grid colums.  When I enter in the grid columns
values as 0.00000008, 0.00000001 the result field
displays 9e-8, which is correct but I would like to
display it as 0.00000009 instead.... Any suggestions?

Thanks,
Valy


--- Valy Sivec <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I have some some number formatted form elements that
> I
> need to sum up. In order to do that, I use
> parseFloat
> to extract the number out of the formatted string
> input. When the number has more than 5 decimals,
> let's
> say "0.0000008", the get back the trailing
> exponents:
> 8e-7.
>
> Is there a way to get back the number without the
> trailing exponents (0.0000008)?
>
>
> TIA,
> Val.
>
>
>
>
>      
>            
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
>



     
           
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to