formatted = NumberFormat.getFormat("#.#").format(value);
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/NumberFormat.html
<http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/NumberFormat.html>Most
of the methods are the same as DecimalNumberFormat
regards,
Rudolf Michael
On Tue, May 25, 2010 at 5:18 PM, StrongSteve <[email protected]> wrote:
> Hello Everybody,
>
> Our application puts out a lot of double values.
> Unfortunately it is not ok to output the double value using the
> exponent - for example: 12E-7.... we want the the whole number - for
> example 0.000000012
>
> I am really stuck, as GWT does not support the DecimalNumberFormat and
> I do not get it to work using the NumberFormat class.
>
> Any ideas? Help?
>
> Thanks in Advance for your help!
>
> Greetings
> Stefan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.