Method getInstance(Locale inLocale)
Return type:
java.text.NumberFormat
Member of:
java.text.NumberFormat
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
NumberFormat nf = NumberFormat.getInstance(locale);
2
this.numberFormat = NumberFormat.getInstance(locale);
3
return NumberFormat.getInstance(locale).format(obj); // fix
4
private DecimalFormat formatter = (DecimalFormat) DecimalFormat.getInstance(locale);
5
DecimalFormat numberFormat = (DecimalFormat) NumberFormat.getInstance(locale);
6
NumberFormat nf = NumberFormat.getInstance(Locale.UK);
7
DecimalFormat from_fmt = (DecimalFormat)NumberFormat.getInstance(srcLoc);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.