On 12 Jul., 10:26, Thomas Broyer <[email protected]> wrote:
> You're confusing the syntax of the pattern you give to NumberFormat for
> parsing, and then the use of that NumberFormat within the context of a
> locale.
> What you *give* to NumberFormat is locale-insensitive: #,##0.0##
> When you have that NumberFormat instance, what it does then depends on the
> current locale: when you format 1234.56 in the de_DE locale, you'll see (if
> I'm not mistaken) 1.234,56, in the fr_FR locale it'll be 1 234,56 and in the
> en_US locale it'll be 1,234.56.
ok, I think I understand what you are saying. But it's still a mystery
to me, how to tell the localized NumberFormat, e.g.
NumberFormat.getDecimalFormat(), to use ths user supplied pattern, eg
setting a certain precision, leading/trailing zeros, and such like.

-- 
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.

Reply via email to