Yeah, INT works, but what I couldn't understand was why it was throwing back a float when there was no divisible maths going on.
In fact, just creating a new cap with Global variables "CurrentCellX"=0 and "SizeX"=10, and the statement:
"CurrentCellX" = random ("SizeX")+1
will produce floating point numbers like 4.22801958731946 every time, without any other maths going on.
Is that expected behaviour?
I suppose as long as people are aware of it, it'll be ok, but I wouldn't have thought that floating point would have been used until it was forced to by maths that involved or resulted in a floating point value.