Interesting little bug this one!

If you run the following code, the last call to INTEGER (i.e. INTEGER(1) ) returns 0.
FOR i = 0 TO 1 STEP .1
PRINT i + " - "+INTEGER(i), 0, i*200
PRINT INTEGER(1),100,100
NEXT
SHOWSCREEN
MOUSEWAIT
Yet if you run
PRINT INTEGER(1),100,100
PRINT INTEGER(1.0),100,120
SHOWSCREEN
MOUSEWAIT
they both return 1 correctly. Just in case anyone gets a wierd result with one of these, I thought I got it to print 0 for INTEGER (1.0) originally but it doesn't print that when I run it now.