Menu

#15 NumberFormatException for scientific notation

open
nobody
None
5
2012-10-12
2012-10-12
No

Using FlatPack 3.1.1 from Maven repositories.

DataSet ds = ... // myColumn text value "-7.605545475584464E-4"
ds.getDouble("myColumn"); // ==> java.lang.NumberFormatException: For input string: "-7.605545475584464-4"

this is a perfectly valid number...

Tried also with
ds.setStrictNumericParse(false);

this did not change the result.

Parsing the string with Double.parseDoube() works without a problem...

Discussion


Log in to post a comment.