Java.Text.NumberFormat.GetPercentInstance Method
Returns a NumberFormat for formatting and parsing percentage values for the given locale.

Syntax

[Android.Runtime.Register("getPercentInstance", "(Ljava/util/Locale;)Ljava/text/NumberFormat;", "")]
public static NumberFormat GetPercentInstance (Java.Util.Locale locale)

Parameters

locale
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a NumberFormat for formatting and parsing percentage values for the given locale.

The NumberFormat returned by this method should only be used to format floating-point numbers typically between 0 and 1 (with 1 being 100%). A value such as 0.53 will be treated as 53%, but 53.0 (or the integer 53) will be treated as 5,300%, which is rarely what you intended.

[Android Documentation]

Requirements

Namespace: Java.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1