I\'m having trouble with (what I suspect is) a rounding error.
I have a string, 0.686357E-01, which I\'m trying to convert to a double. I\'ve been able to s
0.686357E-01
Floating point numbers do not have perfect precision. If that is an issue, use BigDecimal:
String string = "0.686357E-01"; BigDecimal number = new BigDecimal(string); System.out.println(number);