for(var/i=1; i<=2.6/0.2; i++)
world<<i
this only does 12 loops instead of 13 is this a bug or an internal rounding mechanism I'm not aware of??
ID:2304854
Oct 13 2017, 7:08 am
|
|||||||||||||
Not a bug
| |||||||||||||
Code:
for(var/i=1; i<=2.6/0.2; i++) this only does 12 loops instead of 13 is this a bug or an internal rounding mechanism I'm not aware of?? |
13 > 12.99999905, so your loop exits without running i=13.