you can use a wrapper class, in this case Double, note that this is a class and not a primitive
double.
all you do to create a new Double instance by passing your string value (or you can use a double value - but obviously you can't). e.g.
Double myDouble = new Double(yourString);
you will then be able to mainpulate the Double object by using the methods associated with the class. For more info check out
which are the sun docs and create complete listings of available methods and properties for all java classes.
incidentally, if you wish to manipulate your double value as an actual primitive double type you can create a new variable of type double and set it equal to the value contained within the Double class e.g.
double myVariable = myDouble.doubleValue();
The doubleValue method of the Double wrapper class basically returns the value as a double.
hope this helps a bit.
good luck
p.s. there is similar Class type for float variables (in this case the wrapper class is of type Float) which also has a method called floatValue() blah blah blah.