Page 1 of 1

lowest random number possible

PostPosted: Wed Oct 04, 2006 8:29 pm
by jcoggins
Is the lowest number possible for the rand() function to generate 0 or 1?

Jason

PostPosted: Wed Oct 04, 2006 9:16 pm
by Game A Gogo
from what i know, its 0.
if you want it not to change to a zero put
Code: Select all
x=rand(Myvar-1)+1;

that is just an exemple for using whit variable.