Hi there,
I was experimenting with some js code with Math.pow and I found this weird issue.
Here is the code I was using:
function convertAmountFormat(amount, invert = false) {
decimals = 8
if (!invert) {
return parseFloat((amount / Math.pow(10, decimals)).toFixed(decimals))...