let x = -75;
let b = -7.105427357601002e-15;
x = x + b;
alert(x);
Alert prints -75. Why? What is the solution to avoid this error?
let x = -75;
let b = -7.105427357601002e-15;
x = x + b;
alert(x);
Alert prints -75. Why? What is the solution to avoid this error?