You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/04/06 07:58:00 UTC

[jira] [Updated] (LANG-1695) NumberUtils.isParseable does not recognise values such as "2."

     [ https://issues.apache.org/jira/browse/LANG-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated LANG-1695:
---------------------------------
    Fix Version/s:     (was: 3.12.0)

> NumberUtils.isParseable does not recognise values such as "2."
> --------------------------------------------------------------
>
>                 Key: LANG-1695
>                 URL: https://issues.apache.org/jira/browse/LANG-1695
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.12.0
>            Reporter: Guillaume Nodet
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)