Rounds a number to the specified set of decimals, removing trailing zeroes. If decimals is undefined, this will throw an error
toFixedDecimals , this function fulfils a similar purpose but does not cut off trailing zeroes in decimals if they are within the decimals specified
Generated using TypeDoc
Rounds a number to the specified set of decimals, removing trailing zeroes. If decimals is undefined, this will throw an error
See
toFixedDecimals , this function fulfils a similar purpose but does not cut off trailing zeroes in decimals if they are within the decimals specified