PDA

View Full Version : Limite random numbers from 1 to 9



Pedro Santos
- 15th March 2007, 12:25
Hello

What is the best way to limite the Random command to generate number from 1 to 9?

Thanks for any help

Regards

Pedro

Pedro Santos
- 15th March 2007, 12:34
Hello

Solved thanks a previous tread from Melany

Dice=(RandomValue//6)+1 ' Convert it to range 1-6


Regards

Pedro