Hello,
how can I generate random numbers (integers, no floating point numbers)
using Ruby’s standard library?
Many thanks in advance.
Hello,
how can I generate random numbers (integers, no floating point numbers)
using Ruby’s standard library?
Many thanks in advance.
On Saturday 09 September 2006 18:59, Lucas H. wrote:
Hello,
how can I generate random numbers (integers, no floating point numbers)
using Ruby’s standard library?Many thanks in advance.
rand(max)
For further questions, try searching RDoc Documentation
Alex
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs