jamiethehutt wrote: > I'm a Ruby newbie and I'm wondering if there's a simple way to generate > a random floating point number, I want to generate numbers between 0 > and about 2-3.6 with the max changing each time (an example max would > be 3.26861475366199). That's a pretty weird request, but you'd do something like this: rand*(2+rand*1.6) Daniel