formatBigint

Function: formatBigint()

formatBigint(value, decimals, displayDecimals?): string

Format bigint to string with decimals

Parameters

value

bigint

The bigint value to format.

decimals

number

The number of decimal places to consider.

displayDecimals?

number

Optional number of decimal places to display.

Returns

string

Defined in

packages/wagmi/src/util/bigint.ts:35

Last updated