[android-developers] Localization of numerical edits
I have some numerical input fields an some ouput fields. In german
locale the decimal symbol is ',' whereas in english locale it is '.'
My program runs in a german environment of the OS but the input fields
use the english locale. The number format of
sTemp = String.format("%.2f m", 2 * rest);
displays in the correct locale. How can I fix the input fields?
TIA,
Hans
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home