When I doing an exercise on Free Code Camp, I find out this error - the result of 96.74%20
was 16.739999999999995
, not 16.74
. What's wrong with it and how can I fix this error?
console.log(96.74%20); // 16.739999999999995
When I doing an exercise on Free Code Camp, I find out this error - the result of 96.74%20
was 16.739999999999995
, not 16.74
. What's wrong with it and how can I fix this error?
console.log(96.74%20); // 16.739999999999995