Groovy web console

subscribe to the feed Subscribe
to this
site
Random numbers 1-100 (via #groovywebconsole)
tweet this snippet Tweet
this
script

Random numbers 1-100

Published 5 months ago by Leon with tags Random numbers
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Double.valueOf(Math.ceil(Math.random() * 100d)).intValue()