
Originally Posted by
Mr_Spoon
[FONT=arial][SIZE=2][FONT=Arial, Helvetica][SIZE=2][FONT=Courier New][SIZE=3]Int((upperbound - lowerbound + 1) * Rnd + lowerbound)
[/SIZE][/FONT][/SIZE][/FONT][/SIZE][/FONT][FONT=arial][SIZE=2][FONT=Arial, Helvetica][SIZE=2]Here, upperbound is the highest number in the range, and lowerbound is the lowest number in the range.[/SIZE][/FONT][/SIZE][/FONT]
[FONT=arial][SIZE=2][FONT=Arial, Helvetica][SIZE=2][FONT=Courier New][SIZE=3]
[/SIZE][/FONT][/SIZE][/FONT][/SIZE][/FONT]