random number between two numbers
#1

I've seen on wiki the random function but it only has the "max" parameter, so it would generate a number between 0 and "max-1".

how can I generate a random number between two numbers? Like 5 and 10.... it would generate 5, 6, 7, 8, 9 or 10.
Reply


Messages In This Thread
random number between two numbers - by Davidovich - 24.01.2011, 21:54
Re: random number between two numbers - by Fj0rtizFredde - 24.01.2011, 21:56
Re: random number between two numbers - by Davidovich - 24.01.2011, 21:59
Re: random number between two numbers - by Fj0rtizFredde - 24.01.2011, 22:04
Re: random number between two numbers - by Gabe - 24.01.2011, 22:06
Re: random number between two numbers - by Davidovich - 24.01.2011, 22:09

Forum Jump:


Users browsing this thread: 2 Guest(s)