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