Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

scala random number

val r = scala.util.Random
r.nextInt() //no max limit
r.nextInt(100) //max limit
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scala #random #number
ADD COMMENT
Topic
Name
6+5 =