public static double parseDouble (String s) throws NumberFormatException

Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class Double.

Parameters:
s    the string to be parsed.

Returns:  the double value represented by the string argument.

Exceptions:
NullPointerException    if the string is null
NumberFormatException    if the string does not contain a parsable double.

See also:
java.lang.Double.valueOf(String)

Since:  1.2