The ISO 4217 code for the currency
The amount of subunits per unit in this currency
The ISO 4217 code for the currency
Converts integer subunits of Currency
to the float units value.
For example, when the currency is CAD and subunits is 10 (10 cents), this method returns 0.10 (0.10 dollars).
The integer subunits to convert to units
The corresponding float amount of units
Converts float units of Currency
to the subunits value.
For example, when the currency is CAD and units is 0.10 (0.10 dollars), this method returns 10 (10 cents)
The number of units to convert
The corresponding integer amount of subunits
Generated using TypeDoc
Creates an instance of
Currency