Posts by Peter.souza • 1 point
1 post
-
0
votes3
answers139
viewsA: Subtraction with decimal places in the result
You can use toFixed to determine how many decimal places the query will return. For example: function calcular() { var num1 = 62.000; var num2 = 60.000; var elemResult = num1-num2;…