Aw: Number Formatter class omits the digits after 2 decimal places

2011-09-05 Thread Jens
You can always use NumberFormat.getFormat(String pattern) to provide your own custom pattern or you use NumberFormat.getCurrencyFormat(CurrencyData data). You can try to use DefaultCurrencyData or provide your own implementation of CurrencyData. -- J. -- You received this message because you

Number Formatter class omits the digits after 2 decimal places

2011-09-05 Thread Atul
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 loos