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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 1.2.2, 1.3.0
    • Component/s: 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: