次の方法で共有


NumberFormat.Instance Property

Definition

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

public static Java.Text.NumberFormat Instance { [Android.Runtime.Register("getInstance", "()Ljava/text/NumberFormat;", "")] get; }
[<get: Android.Runtime.Register("getInstance", "()Ljava/text/NumberFormat;", "")>]
static member Instance : 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 the same as calling #getNumberInstance() getNumberInstance().

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