Hmmm... Ok, perhaps I am doing something wrong, I tried this;
global Int_RandomNumber as integer
global Float_RandomNumber as float
do
if GetPointerPressed() = 1
Int_RandomNumber = Random(100, 300)
Float_RandomNumber = Int_RandomNumber / 100
endif
Print(Int_RandomNumber)
Print(Float_RandomNumber)
Sync ( )
loop
This only ever returns 1.0 or 2.0 and nothing in between...
EDIT: Ah ha... I see what you mean now, they both have to be floats. I assumed you'd start with an int then divide that by 100, when in fact both need to be declared as floats. Perfect, thanks!