Very simple question, but I'm really confused :P
> for x = 0, 5, 0.2 do
print (x)
end
This loop counts only to 4.8 (one step more with 0.2 would result exactly 5, wouldn't it?)
But the following for-loop counts to 5
> for x = 0, 5, 1 do
print (x)
end
Can someone explain or refer to the manual, the reason behind these outputs. Maybe I should define the variable as float?