Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

generate 6 digit random number ruby

10.times.map{rand(10)}.join # => "3401487670"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generate #digit #random #number #ruby
ADD COMMENT
Topic
Name
3+3 =