bigintFromDecimals(value, decimals, rounded): bigint
value
decimals
rounded
bigint
Convert number to bigint with decimals
string
The string representation of the value.
number
The number of decimal places to consider.
boolean = true
boolean
true
Optional boolean indicating whether the value should be rounded. Defaults to true.
converted bigint value
packages/wagmi/src/util/bigint.ts:7arrow-up-right
Last updated 1 year ago