Function: formatBigNumber()
ts
function formatBigNumber(
value: string | number | bigint | Big,
format: string,
locale: string,
): string;Drop-in replacement for numeral().format() for use with Big.js
Parameters
| Parameter | Type | Default value |
|---|---|---|
value | string | number | bigint | Big | undefined |
format | string | undefined |
locale | string | 'en-US' |
Returns
string