Freigeben über


NumberFormat.Instance Property

Definition

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

public static Android.Icu.Text.NumberFormat? Instance { [Android.Runtime.Register("getInstance", "()Landroid/icu/text/NumberFormat;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getInstance", "()Landroid/icu/text/NumberFormat;", "", ApiSince=24)>]
static member Instance : Android.Icu.Text.NumberFormat

Property Value

Attributes

Remarks

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat. <hr> Returns the default number format for the current default FORMAT locale. The default format is one of the styles provided by the other factory methods: getNumberInstance, getIntegerInstance, getCurrencyInstance or getPercentInstance. Exactly which one is locale-dependent.

Java documentation for android.icu.text.NumberFormat.getInstance().

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