Hi!
I have a NumberFormat with 8 decimal places, that the code:
NumberFormat format = NumberFormat.getFormat("#,##0.00000000");
System.out.println(format.format(1234.5678d));
When I run, it prints: "1,234.7852517"
But should print: "1,234.56780000"
If I reduce the zeros to 6, it works("1,234.567800")
Is this a bug or I'm doing something wrong?
Thanks.
--
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.