0

Why is the output of this subtraction wrong?

var a = 1753.10
var b = 87.66
var c = a - b

console.log(c);

The given output is 1665.4399... but the calculator given output is 1665.44

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339

0 Answers0