From: Ruby N00bie Date: 2007-01-07T03:19:19+09:00 Subject: HOW-TO produce random numbers within a range? Hello, Thanks for reading this. I am very new to Ruby and have been learning using a tutorial at http://pine.fm/LearnToProgram/ by Chris (thanks Chris) After searching fairly thoroughly in forums and tutorials I found no answer to my problem. I have come to a point where i need to generate a random number within a range. I have learnt that rand(100) produces random numbers from 0 to 99 but i need to know how to set a minimum for the random number. Your help would be greatly appreciated. Thanks in advance, tckl. -- Posted via http://www.ruby-forum.com/.