次の方法で共有


NumberFormat.PercentInstance Property

Definition

Returns a percentage format for the current default java.util.Locale.Category#FORMAT FORMAT locale.

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

Property Value

the NumberFormat instance for percentage formatting

Attributes

Remarks

Returns a percentage format for the current default java.util.Locale.Category#FORMAT FORMAT locale.

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

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

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