Posts by Adriano Santos • 1 point
1 post
-
-1
votes2
answers823
viewsA: Sum of decimal values in Javascript
is very simple to solve use the parseFloat() document.getElementById("exemplo").innerHTML = parseFloat(1.25+1.37) document.getElementById("exemplo2").innerHTML = parseFloat(1.25) + parseFloat(1.37)…
javascriptanswered Adriano Santos 1