Function: useBigNumberFormatter()
ts
function useBigNumberFormatter(locale: string): {
format: (
value: string | number | bigint | Big,
formatString: string,
) => string;
formatter: BigNumberFormatter;
};Vue composable for BigNumberFormatter
Parameters
| Parameter | Type | Default value |
|---|---|---|
locale | string | 'en-US' |
Returns
ts
{
format: (value: string | number | bigint | Big, formatString: string) =>
string;
formatter: BigNumberFormatter;
}| Name | Type |
|---|---|
format() | (value: string | number | bigint | Big, formatString: string) => string |
formatter | BigNumberFormatter |