formatAmount
formatAmount(
value,options?):string|null
Defined in: payload/dist/amount.d.ts:17
Format an amount for the wire. Returns null for static QR (caller
intends a “scan and enter any amount” code).
Parameters
Section titled “Parameters”number | bigint | null | undefined
options?
Section titled “options?”Returns
Section titled “Returns”string | null