NumericFormat
Types
Link copied to clipboard
A fixed-point decimal with scale fraction digits.
Link copied to clipboard
data class Money(val currency: String? = null, val currencyField: String? = null, val scale: Int) : NumericFormat
An amount of money in exactly one of a fixed ISO 4217 currency or the currency named by the sibling string field currencyField. With a fixed currency, scale defaults to the currency's standard fraction digits (java.util.Currency.defaultFractionDigits: 2 for CNY, 0 for JPY); with currencyField it must be given.