Skip to main content

Money

A value in a given currency, broken into it's amount & precision

Fields

amountBigInt!

The value of the Money times 10 ^ precision (i.e. $20.32 has an amount of "2032")

currencyCurrency!

The currency code for the Money (i.e. $20.32 has a currency of USD)

formattedString!

The formatted value of the Money

precisionNonNegativeInt!

The precision of the Money (i.e. $20.32 has a precision of 2)

valueFloat!

The value of the Money in it's base unit