Freigeben über


NumberFormat.GetNumberInstance Method

Definition

Overloads

GetNumberInstance(ULocale)

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat.

GetNumberInstance(Locale)

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat.

GetNumberInstance(ULocale)

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat.

[Android.Runtime.Register("getNumberInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)]
public static Android.Icu.Text.NumberFormat? GetNumberInstance (Android.Icu.Util.ULocale? inLocale);
[<Android.Runtime.Register("getNumberInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)>]
static member GetNumberInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.NumberFormat

Parameters

inLocale
ULocale

Returns

Attributes

Remarks

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat. <hr> <strong>[icu]</strong> Returns a general-purpose number format for the specified locale.

Java documentation for android.icu.text.NumberFormat.getNumberInstance(android.icu.util.ULocale).

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

GetNumberInstance(Locale)

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat.

[Android.Runtime.Register("getNumberInstance", "(Ljava/util/Locale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)]
public static Android.Icu.Text.NumberFormat? GetNumberInstance (Java.Util.Locale? inLocale);
[<Android.Runtime.Register("getNumberInstance", "(Ljava/util/Locale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)>]
static member GetNumberInstance : Java.Util.Locale -> Android.Icu.Text.NumberFormat

Parameters

inLocale
Locale

Returns

Attributes

Remarks

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat. <hr> Returns a general-purpose number format for the specified locale.

Java documentation for android.icu.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