formatAmountParts
formatAmountParts(
amount,currency?):RewardAmountParts
Defined in: utils/format/formatAmountParts.ts:34
Split a money amount into display parts, using the same options as formatAmount so the two can never disagree about the number.
Parameters
Section titled “Parameters”amount
Section titled “amount”number
currency?
Section titled “currency?”Returns
Section titled “Returns”RewardAmountParts