csating string to double

What is the code for casting a string into a double?thanks,
[80 byte] By [vbeir] at [2007-9-30 4:43:17]
# 1
String s = "123.456";double d = Double.parseDouble(s);
ChuckBing at 2007-7-1 14:34:17 > top of Java-index,Administration Tools,Sun Connection...