NumberFormat.getInstance

NumberFormat.getInstance

Class Overview | Class Members | This Package | All Packages

Syntax 1
public static final NumberFormat getInstance()
Description
Returns the default number format for the current default locale. The default format is one of the styles provided by the other factory methods: getNumberInstance, getCurrencyInstance or getPercentInstance. Exactly which one is locale dependant.



Syntax 2
public static NumberFormat getInstance( Locale inLocale )
Description
Returns the default number format for the specified locale. The default format is one of the styles provided by the other factory methods: getNumberInstance, getCurrencyInstance or getPercentInstance. Exactly which one is locale dependant.