DecimalFormat.parseObject allows non-digits ...

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 1.1
    • Component/s: core-libs
    • None
    • unknown
    • solaris_2.5.1

      The tutorial contains a demo program that creates a format like this:
              moneyFormat = NumberFormat.getNumberInstance();
      When the program calls the format's parseObject with a String argument that contains non-digits (for example "32g4878"), the parser accepts the number.


            Assignee:
            Norbert Lindenberg (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: