Even if the conditional statement of the while loop is true, the loop keeps looping!
this is the code (not the one I'm working on but it represents the same pbl):
counter = 0
while true
counter = counter + .1
if counter == 10
break;
end
end
Obviously the loop should stop when counter reaches 10, but that condition is never met
When using integers as increment it works as predicted.