Compartilhar via


NumberFormat.NumberInstance Property

Definition

Returns a general-purpose number format for the current default java.util.Locale.Category#FORMAT FORMAT locale.

public static Java.Text.NumberFormat NumberInstance { [Android.Runtime.Register("getNumberInstance", "()Ljava/text/NumberFormat;", "")] get; }
[<get: Android.Runtime.Register("getNumberInstance", "()Ljava/text/NumberFormat;", "")>]
static member NumberInstance : Java.Text.NumberFormat

Property Value

the NumberFormat instance for general-purpose number formatting

Attributes

Remarks

Returns a general-purpose number format for the current default java.util.Locale.Category#FORMAT FORMAT locale.

This is equivalent to calling #getNumberInstance(Locale) getNumberInstance(Locale.getDefault(Locale.Category.FORMAT)).

Java documentation for java.text.NumberFormat.getNumberInstance().

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