NumberFomatException: multiple points
843810Jun 19 2003 — edited Jun 19 2003I have some code which plots points on a graph. The array string multivalue is populated from parameters read in from lotus notes. The code works fine when integers are used but when one of the values is a decimal e.g. 3.5 then I get the runtime error NumberFormatException: multiple points.
Can someone please explain what this exception means and how to stop it occurring.
Example of part of code:
//Point 2
double p2 = Double.parseDouble(multivalue[1]);
xp2 = 260+(int)(p2*30*0.34202);
yp2 = 260-(int)(p2*30*0.93969);
Cheers,
Matt