I'm trying to run the following calculation in JavaScript, 78.98 * 10
and the result returned is always 789.8000000000001
My question is where did that 0.0000000000001
come from?
I tried on several calculators, and that 0.0000000000001
should not be there. I did inclusive tests in other programming languages.
My question is, is there a logical explanation for this? If it is an error in the JavaScript engine where I notify?
Thank you.