Java.Text.NumberFormat.PercentInstance Property
Returns a NumberFormat for formatting and parsing percentage values for the user's default locale.

Syntax

[get: Android.Runtime.Register("getPercentInstance", "()Ljava/text/NumberFormat;", "GetGetPercentInstanceHandler")]
public static NumberFormat PercentInstance { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns a NumberFormat for formatting and parsing percentage values for the user's default locale. See "Be wary of the default 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