Partager via


NumberFormat.CurrencyInstance Property

Definition

<strong>NOTE:</strong> New users are strongly encouraged to use NumberFormatter instead of NumberFormat.

public static Android.Icu.Text.NumberFormat? CurrencyInstance { [Android.Runtime.Register("getCurrencyInstance", "()Landroid/icu/text/NumberFormat;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getCurrencyInstance", "()Landroid/icu/text/NumberFormat;", "", ApiSince=24)>]
static member CurrencyInstance : Android.Icu.Text.NumberFormat

Property Value

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 current default FORMAT locale.

Java documentation for android.icu.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