Details
-
Test
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
1.8.0, 2.0.0
-
None
-
Windows. GRECLIPSE, and the 1.8 Groovy Console
Description
println '428.0'.toInteger() throws NumberFormatException.
println '428.0'.toDouble().toInteger() prints 428 as expected.
Is this a bug or feature?