27 Jun 12:50
[groovy-dev] Floating point literals
From: Martin C. Martin <martin@...>
Subject: [groovy-dev] Floating point literals
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-06-27 10:51:17 GMT
Subject: [groovy-dev] Floating point literals
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-06-27 10:51:17 GMT
Hi,
Why do we require a digit before the decimal point in floating point
literals?
foo.groovy: 1: expecting EOF, found '+' @ line 1, column 11.
println 5 + .3
^
1 error
Best,
Martin
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
RSS Feed