NumberFormat.GetPercentInstance Method
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.
Overloads
GetPercentInstance(ULocale) |
<strong>NOTE:</strong> New users are strongly encouraged to use
|
GetPercentInstance(Locale) |
<strong>NOTE:</strong> New users are strongly encouraged to use
|
GetPercentInstance(ULocale)
<strong>NOTE:</strong> New users are strongly encouraged to use
NumberFormatter
instead of NumberFormat.
[Android.Runtime.Register("getPercentInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)]
public static Android.Icu.Text.NumberFormat? GetPercentInstance (Android.Icu.Util.ULocale? inLocale);
[<Android.Runtime.Register("getPercentInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)>]
static member GetPercentInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.NumberFormat
Parameters
- inLocale
- ULocale
Returns
a number format for percents
- Attributes
Remarks
<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter
instead of NumberFormat. <hr> <strong>[icu]</strong> Returns a percentage format for the specified locale.
Java documentation for android.icu.text.NumberFormat.getPercentInstance(android.icu.util.ULocale)
.
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
GetPercentInstance(Locale)
<strong>NOTE:</strong> New users are strongly encouraged to use
NumberFormatter
instead of NumberFormat.
[Android.Runtime.Register("getPercentInstance", "(Ljava/util/Locale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)]
public static Android.Icu.Text.NumberFormat? GetPercentInstance (Java.Util.Locale? inLocale);
[<Android.Runtime.Register("getPercentInstance", "(Ljava/util/Locale;)Landroid/icu/text/NumberFormat;", "", ApiSince=24)>]
static member GetPercentInstance : Java.Util.Locale -> Android.Icu.Text.NumberFormat
Parameters
- inLocale
- Locale
Returns
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 specified locale.
Java documentation for android.icu.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.