Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4253785

java.lang.Double needs a parseDouble(string) method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.2, 1.3.0
    • core-libs
    • generic, x86
    • generic, linux



      Name: rlT66838 Date: 07/13/99


      Can we have a java.lang.Double.parseDouble(string) method, like the java.lang.Integer.parseInt(string) method?

      It would be helpful for each of the classes that implement Number to have
      a parseXXXXX(string) function. Then we don't have

      Integer.parseInt(argv[0])

      but

      Double.valueOf(argv[0]).doubleValue();
      (Review ID: 85548)
      ======================================================================

            darcy Joe Darcy
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: