in reply to generating random numbers within a range
Note that this will result in a number >= $low but < high.# other code here $rand = int(rand($high - $low) + $low); # other code here
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: generating random numbers within a range
by xdg (Monsignor) on May 09, 2005 at 21:01 UTC |