Closed leonardeveloper closed 5 years ago
I'm working on a payment module and I can't figure out how can I add floating values with decimal. I tried .toFixed(2) but didn't work.
Also did accounting.formatNumber(parseFloat(tendered), 2); but didn't work as well.
You can check my Stack Overflow question here
I'm working on a payment module and I can't figure out how can I add floating values with decimal. I tried .toFixed(2) but didn't work.
Also did accounting.formatNumber(parseFloat(tendered), 2); but didn't work as well.
You can check my Stack Overflow question here