Yes rather annoying. I've come across this problem several times. I 
quite often
add a small value to n solve it. i.e.  INT(n+0.00001). I assume its got 
something
to do with internal rounding.



Claude Mourier 00 wrote:

> As I see a question about FOR/NEXT loops, I have mine:
> the subsequent peice of code gives me an unexpected result 
> FOR n = 2.95 to 3.05 STEP 0.01 : print n, INT(n)
> Why ?
> 
> Claude
> (I am using QPC2v2.00 and SMSQ/e v2.98)
> 
> 

Reply via email to