0.600000024 is the nearest to 0.6 for a float type but is this the same on all platforms?
ie is this going to work okay on all platforms?
is binary rounding a reliable "feature" ?
if a>0.600000024 then
if a<0.600000024 then
if a=0.600000024 then
where I need 3 distinct states
just for fun!
ie is this going to work okay on all platforms?
is binary rounding a reliable "feature" ?
if a>0.600000024 then
if a<0.600000024 then
if a=0.600000024 then
where I need 3 distinct states
just for fun!
Local a:Float=0.0 While a<>0.600000024 a:+0.1 Print a Wend