Groovy web console

subscribe to the feed Subscribe
to this
site
Remove decimal (via #groovywebconsole)
tweet this snippet Tweet
this
script

Remove decimal

Published 2 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Float x = 4;
println(x)

println(x as int)