Currency
constructor(currencyCode: String? = null, minIntegerDigits: UInt, maxIntegerDigits: UInt, minFractionDigits: UInt? = null, maxFractionDigits: UInt? = null, roundingMode: RoundingMode = RoundingMode.HalfEven)
Parameters
currencyCode
The currency code to format for. When null
defaults to the currency of the locale Defaults to null
.
minIntegerDigits
The minimum number of integer digits to show. Defaults to 0U
.
maxIntegerDigits
The maximum number of integer digits to show. Defaults to 309U
.
minFractionDigits
The minimum number of decimal digits to show. Defaults to 0U
.
maxFractionDigits
The maximum number of decimal digits to show. When null
uses the preferred faction digits of the currency. Defaults to null
.
roundingMode
The RoundingMode to be applied. Defaults to RoundingMode.HalfEven.