It appears to be an easy question, but why does it return false?
9/3/2019 9:39:33 PM
Because floating point numbers aren't very accurate. Even the slightest difference between a, b, and c will return false, so comparing floating point numbers is generally not a good idea for statement or loop conditions.
GET THE FREE APP
Learn Playing. Play Learning
Send us a message