I have some unexpected answers when I do calculations with Javascript. Example:
var a = 1.12064;
var b = 1.12065;
var c = 1.13498;
var d = 1.13497;
var num = b-a;
var answer =c-d;
console.log(num);
console.log(answer);
The expected result for both is 0.00001. However, the num returns 0.0000099. Any suggestion to have a result as in a normal calculator? Thanks in advance.