Partager via


NumberFormat.PercentInstance Property

Definition

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

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

Property Value

a number format for percents

Attributes

Remarks

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat. <hr> Returns a percentage format for the current default FORMAT locale.

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