Groovy web console

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

Testing floats

Published 7 months ago by VN
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
float one = 1.03
float two = 0.42
System.out.println(one)
System.out.println(two)
System.out.println(one - two)