Anyone knows how you do that in jsp? tried parseDouble and valueOf() but nothing
Edited by toto_7, 06 May 2011 - 03:12 PM.
Edited by toto_7, 06 May 2011 - 03:12 PM.
|
|
|
Object object1 = new Double(9.1); double d = (Double) object1; //Watch the capitalisation hereThis works fine.
Object object1 = "9.1"; String s = (String) object1; double d = Double.parseDouble(s);
0 members, 1 guests, 0 anonymous users