NumberFormat.PercentInstance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.