Currency.DefaultFractionDigits Property

Definition

Gets the default number of fraction digits used with this currency.

public int DefaultFractionDigits { [Android.Runtime.Register("getDefaultFractionDigits", "()I", "")] get; }
[<get: Android.Runtime.Register("getDefaultFractionDigits", "()I", "")>]
member this.DefaultFractionDigits : int

Property Value

the default number of fraction digits used with this currency

Attributes

Remarks

Gets the default number of fraction digits used with this currency. Note that the number of fraction digits is the same as ISO 4217's minor unit for the currency. For example, the default number of fraction digits for the Euro is 2, while for the Japanese Yen it's 0. In the case of pseudo-currencies, such as IMF Special Drawing Rights, -1 is returned.

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

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