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.
a number in double precision.
I have a grid and below it a total fieldthat 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 sumup. In order to do that, I use
> parseFloat
> to extract the numberout 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/

