You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2023/04/06 07:45:00 UTC
[jira] [Created] (LANG-1695) NumberUtils.isParseable does not recognise values such as "2."
Guillaume Nodet created LANG-1695:
-------------------------------------
Summary: 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
Reporter: Guillaume Nodet
Fix For: 3.12.0
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)