I get a java.lang.NumberFormatException:
For input string: “1.7023484830876092”
trimming the string to 1.70234, does solve the problem, but before slicing the string myself I’m wondering whether its possible to use some java methods to leverage the capacity of the target object.
kind regards,
jeroen.
you could try using the DecimalFormat class:
http://download.oracle.com/javase/1.5.0/docs/api/java/text/DecimalFormat.html
this might work….