From: Zundra Daniel Date: 2008-04-17T14:05:45+09:00 Subject: Re: noob random number question ------=_Part_2231_5407240.1208408745445 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No problem. This should get you the result you are looking for number / (min + rand(max-min)).to_f for example 100 / (3 + rand(6-3)).to_f On Thu, Apr 17, 2008 at 12:58 AM, Zoe Phoenix wrote: > sorry if I wasn't clear when I originally posted, btw >.>;; > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_2231_5407240.1208408745445--