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

NumberUtils.isParseable does not recognise values such as "2."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.12.0
    • None
    • None
    • None

    Description

      This is a bit of an edge case, but Float.parseFloat("2.") returns the value 2.0f as expected, while NumberUtils.isParseable("2.") returns false.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: