Bug with evaluating fractions (precision/round issue?)

Published 2023-06-12


Hi @zep,

Unless I'm missing something obvious, I seem to have stumbled on a weird bug.

It seems that inside an FOR..LOOP (potentially other places too),
if the incrementor is something other than 1 or 0.5 (such as 0.4),
then even though PRINT is "saying" the value is 1.4, it is not comparable with that value
(perhaps a precision/rounding happening in PRINT?)

Code below:

Hope this helps (or someone can point out the error of my ways!)

Thx