SyntaxFix
Write A Post
Hire A Developer
Questions
This works:
var num = parseFloat(document.getElementById(amtid4).innerHTML, 10).toFixed(2);