Function to format a decimal point number in an integer
const amount = parseUnits("0.00123456", 8);console.log(amount);// '123456'
Generated using TypeDoc
Function to format a decimal point number in an integer
Example