jparse
jparse copied to clipboard
Wrong scalar value returned for number with E-notation
jparse version: 1.2.3
ParseDouble.parseDouble(char[], int, int)
returns wrong result for number with E-notation.
Example value 2.52734104E8
is parsed as 252734104.00000006
or 2.5273410400000006E8
(there's extra .00000006).
The bug makes the value returned by method NumberNode#value(), and ScalarNode#doubleValue() to be incorrect.