NumberFormat.GetInstance(Locale) Method

Definition

Returns a general-purpose number format for the specified locale.

[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")]
public static Java.Text.NumberFormat GetInstance (Java.Util.Locale inLocale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")>]
static member GetInstance : Java.Util.Locale -> Java.Text.NumberFormat

Parameters

inLocale
Locale

the desired locale

Returns

the NumberFormat instance for general-purpose number formatting

Attributes

Remarks

Returns a general-purpose number format for the specified locale. This is the same as calling #getNumberInstance(java.util.Locale) getNumberInstance(inLocale).

Java documentation for java.text.NumberFormat.getInstance(java.util.Locale).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to