what is the purpose of double.parsedouble?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lhyn rondina
    New Member
    • Aug 2011
    • 1

    what is the purpose of double.parsedouble?

    what is the purpose of double.parsedou ble?
    Last edited by Niheel; Aug 16 '11, 09:38 AM. Reason: Please do a better job of writing a title next time.
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    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)
    Regards
    Dheeraj Joshi
    Last edited by Niheel; Aug 16 '11, 09:38 AM. Reason: I only did this, because it seemed odd to just post URL

    Comment

    Working...