Intern — Middle
Unexpected results of floating-point number comparison
livecode
Task condition
Check what boolean result the expression 0.1 + 0.2 == 0.3 will yield. Then, provide an explanation of why this happens, based on how floating-point numbers are stored in a computer's memory.
0.1 + 0.2 == 0.3