Currency.Symbol Property

Definition

Gets the symbol of this currency for the default Locale.Category#DISPLAY DISPLAY locale.

public string? Symbol { [Android.Runtime.Register("getSymbol", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getSymbol", "()Ljava/lang/String;", "")>]
member this.Symbol : string

Property Value

the symbol of this currency for the default Locale.Category#DISPLAY DISPLAY locale

Attributes

Remarks

Gets the symbol of this currency for the default Locale.Category#DISPLAY DISPLAY locale. For example, for the US Dollar, the symbol is "$" if the default locale is the US, while for other locales it may be "US$". If no symbol can be determined, the ISO 4217 currency code is returned.

This is equivalent to calling #getSymbol(Locale) getSymbol(Locale.getDefault(Locale.Category.DISPLAY)).

Java documentation for java.util.Currency.getSymbol().

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