Groovy web console

subscribe to the feed Subscribe
to this
site
random from 1 to 100 (via #groovywebconsole)
tweet this snippet Tweet
this
script

random from 1 to 100

Published 1 month ago by david durham
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Double.valueOf(Math.ceil(Math.random() * 100d)).intValue()