Today I have face one weird issue in javascript, when I try to add the integer and float in the javascript compilers and the output was weird
here is the example,
2000 + 2000 + 1000.56
My expected output : 5000.56
But actual output : 5000.5599999999995
let i = 2000 + 2000 + 1000.56;
console.log(i);