Martin C. Martin | 27 Jun 12:50

[groovy-dev] Floating point literals

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


Gmane