I don't believe a Long can have decimals. You may want to use Float or Double.
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
ie:
String s = "whatevernuber";
double d = Double.parseDouble(s);
mickinator
Junior Poster in Training
55 posts since Oct 2007
Reputation Points: 10
Solved Threads: 5