Divides a number by a given exponent of base 10 (10exponent), and formats it into a string representation of the number.
This code snippet is taken from the Viem SDK.
formatUnits(420000000000n, 9)// '420' Copy
formatUnits(420000000000n, 9)// '420'
Divides a number by a given exponent of base 10 (10exponent), and formats it into a string representation of the number.
This code snippet is taken from the Viem SDK.