money
money(
minor,code,overrides?):object
A typed currency value from minor units, formatted by each surface for its locale.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
minor |
number |
code |
string |
overrides? |
Readonly<Record<string, number>> |
Returns
Section titled “Returns”object
amount
Section titled “amount”amount:
number
currency
Section titled “currency”currency:
string
type:
"currency"