Generation of Random Numbers

Hello,

how can I generate random numbers (integers, no floating point numbers)
using Ruby's standard library?

Many thanks in advance.

···

--
Posted via http://www.ruby-forum.com/.

rand(max)

For further questions, try searching RDoc Documentation

Alex

···

On Saturday 09 September 2006 18:59, Lucas Holland wrote:

Hello,

how can I generate random numbers (integers, no floating point numbers)
using Ruby's standard library?

Many thanks in advance.