import java.text.Numberformat; //... NumberFormat nf = NumberFormat.getNumberInstance( someLocale );You can use that NumberFormat both for input (parsing) and output (formatting): java.text.DecimalFormatSymbols lets you get and set the individual characters such as getDecimalSeparator() and getGroupingSeparator(). You can translate Strings, Audioclips and Images used by your programs and pack them into java.util.ResourceBundles.
You can set the Locale three different ways:
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.58] | |||
| You are visitor number 17,447. | |||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | ||
| http://mindprod.com/jgloss/locale.html | J:\mindprod\jgloss\locale.html | ||