Number Formatter class omits the digits after 2 decimal places
Hi,
I want to change a double value to USD currency format, so i used
NumberFormat class of com.google.gwt.i18n.client.NumberFormat package.
So when i say NumberFormat.getCurrencyFormat().format(doubleValue) it
returns me string in US$ format but only upto 2 places of decimal. I
don't want to loose original fraction values. There is no method in
this class as setMaximumFractionDigits(int newValue) in
java.text.NumberFormat. Please help me.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home