Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1060

NumberUtils.isNumber assumes number starting with Zero is octal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.2
    • 3.8
    • lang.math.*
    • None

    Description

      The isNumber method assumes, that if the String being passed in doesn't have an 'X' at the second char it is an octal number.

      Attachments

        Issue Links

          Activity

            People

              pascalschumacher Pascal Schumacher
              haugenjames James Haugen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: