parseDouble(String) to convert a string to a
double primitive, or use valueOf(String)
to convert a string to a Double object.
Constructs a newly allocated Double object that
represents the floating-point value of type double
represented by the string. The string is converted to a
double value as if by the valueOf method.
s | a string to be converted to a Double. |
NumberFormatException | if the string does not contain a parsable number. |
Diagram: Number