You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/10/19 15:26:58 UTC

[jira] [Updated] (LANG-1216) NumberUtils.isNumber bug

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

Pascal Schumacher updated LANG-1216:
------------------------------------
    Summary: NumberUtils.isNumber bug  (was: version3.5 org.apache.commons.lang3.math.NumberUtils.isNumber bug)

> NumberUtils.isNumber bug
> ------------------------
>
>                 Key: LANG-1216
>                 URL: https://issues.apache.org/jira/browse/LANG-1216
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.4
>            Reporter: yusw
>
> I found that when using NumberUtils【org.apache.commons.lang3.math.NumberUtils.isNumber(version3.4)】 isNumber method the following phenomenon, 
> when the parameter is 1.0 is true, but when the parameter is 0.1 is displayed is false.
> When I use 0.1 as the parameter tuning isNumber method, 
> view the source code in the method of the method of line 1370 discovered a problem.
> When the analytical parameter is ". ", this time the chars [I] value is 46, direct return false.
> I think to do so is not very reasonable, please give me your guidance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)