@checkout-kit/core / minorUnitsPerMajor
Variable: minorUnitsPerMajor
ts
const minorUnitsPerMajor: (currency) => number;100 for USD, 1 for JPY, 1000 for KWD. Asked of Intl, not hardcoded.
Parameters
| Parameter | Type |
|---|---|
currency | string |
Returns
number