Groovy web console

subscribe to the feed Subscribe
to this
site
groovy integer division (via #groovywebconsole)
tweet this snippet Tweet
this
script

groovy integer division

Published 3 weeks ago by j.lamodiere
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def x = 26
def y = 10
 
def resultDiv = x.div(y)