Share via


NumberFormat.GetNumberInstance(Locale) Method

Definition

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

[Android.Runtime.Register("getNumberInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")]
public static Java.Text.NumberFormat GetNumberInstance (Java.Util.Locale inLocale);
[<Android.Runtime.Register("getNumberInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")>]
static member GetNumberInstance : 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.

Java documentation for java.text.NumberFormat.getNumberInstance(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