Your right, I use both...copied the wrong example. I followed the directions...still doesn't work.
Here is what the GWT docs say to do: // Currency fmt = NumberFormat.getCurrencyFormat(); formatted = fmt.format(123456.7899); // prints US$123,456.79 in the default locale or $123,456.79 in the en_US locale So I look for how to set the locale to en_US. I find this in the docs. <head> <meta name="gwt:property" content="locale=en_US"> </head> However, I've made the change but it doesn't help. What am I missing? Thanks! On Jan 31, 9:50 am, Jim Douglas <jdoug...@basis.com> wrote: > I think you meant to say getCurrencyFormat(). > > You'll want to read these pages: > > http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...http://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html > > And play with this sample: > > http://gwt.google.com/samples/Showcase/Showcase.html#CwNumberFormat > > On Jan 31, 7:11 am, dhoffer <dhoff...@gmail.com> wrote: > > > > > I'm using NumberFormat.getDecimalFormat() which does almost what I > > want. All I want to do is remove the leading US from the formatting, > > I want to keep everything else including the $ sign. > > > How can I do this? It isn't clear to me how these casn be customized, > > can someone point me to a sample or something? > > > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.