[ 
https://issues.apache.org/jira/browse/LANG-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047992#comment-18047992
 ] 

Jagdish Singh Bisht commented on LANG-1806:
-------------------------------------------

I have opened a PR to address this  issue:  
[https://github.com/apache/commons-lang/pull/1546]

This complete the existing TODOs in the test suite and allows floating-point 
suffixes (f/F/d/D) only when they appear as the final character, as a small 
follow-up to LANG-1695.

> NumberUtils.isParsable("1.f") should return true
> ------------------------------------------------
>
>                 Key: LANG-1806
>                 URL: https://issues.apache.org/jira/browse/LANG-1806
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Gary D. Gregory
>            Priority: Major
>         Attachments: image-2025-12-29-12-57-58-544.png
>
>
> {{NumberUtils.isParsable("1.f")}} should return true because 
> {{Float.parseFloat("1.f")}} return {{1.0}}
> Same for {{Double}} and {{d}} since these work:
> * Double.parseDouble("1.f")
> * Double.parseDouble("1.d")



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

Reply via email to