In a GWT class document NumberFormat (http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/NumberFormat.html) I read:
"Prefixes, suffixes and various characters used for infinity, numbers, thousands separators, decimal separators , etc. can be set to arbitrary values and they will be displayed correctly during formatting. However, care must be taken to ensure that characters and strings do not conflict, or parsing will be unreliable. For example, the decimal separator and the thousands separator must be different characters, or parsing will be impossible. "
My question is: how can I make sure that "." is used as a separator of thousands and "," as a separator of decimal numbers, regardless of the user's locale? In other words, when I use the template "###, ###, ###. ######" I want the GWT to format the double value 1234567.89 always as "1.234.567, 89" no matter what custom language exists.
source share