what is the purpose of double.parsedou ble?
what is the purpose of double.parsedouble?
Collapse
X
-
-
Here it is
parseDouble
public static double parseDouble(Str ing s)
throws NumberFormatExc eption
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.
Throws:
NumberFormatExc eption - if the string does not contain a parsable double.
Since:
1.2
See Also:
valueOf(String)
Dheeraj JoshiLast edited by Niheel; Aug 16 '11, 09:38 AM. Reason: I only did this, because it seemed odd to just post URL
Comment