NumberFormat.GetPercentInstance(Locale) Method

Definition

Returns a percentage format for the specified locale.

[Android.Runtime.Register("getPercentInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")]
public static Java.Text.NumberFormat GetPercentInstance (Java.Util.Locale inLocale);
[<Android.Runtime.Register("getPercentInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")>]
static member GetPercentInstance : Java.Util.Locale -> Java.Text.NumberFormat

Parameters

inLocale
Locale

the desired locale

Returns

the NumberFormat instance for percentage formatting

Attributes

Remarks

Returns a percentage format for the specified locale.

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

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