Double.valueOf
Class Overview | Class Members |
This Package |
All Packages
public static Double valueOf( String s ) throws NumberFormatException
Parameters
- s
- the string to be parsed.
Returns
a newly constructed Double initialized to the
value represented by the string argument.
Description
Returns a new Double value initialized to the value represented by the
specified String.
Exceptions
NumberFormatException
if the string does not contain a
parsable number.