Sdílet prostřednictvím


Currency.NumericCodeAsString Property

Definition

Returns the 3 digit ISO 4217 numeric code of this currency as a String.

public string? NumericCodeAsString { [Android.Runtime.Register("getNumericCodeAsString", "()Ljava/lang/String;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getNumericCodeAsString", "()Ljava/lang/String;", "", ApiSince=34)>]
member this.NumericCodeAsString : string

Property Value

the 3 digit ISO 4217 numeric code of this currency as a String

Attributes

Remarks

Returns the 3 digit ISO 4217 numeric code of this currency as a String. Unlike #getNumericCode(), which returns the numeric code as int, this method always returns the numeric code as a 3 digit string. e.g. a numeric value of 32 would be returned as "032", and a numeric value of 6 would be returned as "006".

Added in 9.

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

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