Condividi tramite


NumberFormat.CurrencyInstance Property

Definition

Returns a currency format for the current default java.util.Locale.Category#FORMAT FORMAT locale.

public static Java.Text.NumberFormat CurrencyInstance { [Android.Runtime.Register("getCurrencyInstance", "()Ljava/text/NumberFormat;", "")] get; }
[<get: Android.Runtime.Register("getCurrencyInstance", "()Ljava/text/NumberFormat;", "")>]
static member CurrencyInstance : Java.Text.NumberFormat

Property Value

the NumberFormat instance for currency formatting

Attributes

Remarks

Returns a currency format for the current default java.util.Locale.Category#FORMAT FORMAT locale.

This is equivalent to calling #getCurrencyInstance(Locale) getCurrencyInstance(Locale.getDefault(Locale.Category.FORMAT)).

Java documentation for java.text.NumberFormat.getCurrencyInstance().

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