commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1060) NumberUtils.isNumber assumes number starting with Zero is octal
Date Sun, 11 Feb 2018 14:00:00 GMT

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

ASF GitHub Bot commented on LANG-1060:
--------------------------------------

Github user PascalSchumacher commented on the issue:

    https://github.com/apache/commons-lang/pull/314
  
    Thanks! 👍 


> NumberUtils.isNumber assumes number starting with Zero is octal
> ---------------------------------------------------------------
>
>                 Key: LANG-1060
>                 URL: https://issues.apache.org/jira/browse/LANG-1060
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.math.*
>    Affects Versions: 3.3.2
>            Reporter: James Haugen
>            Assignee: Pascal Schumacher
>            Priority: Major
>             Fix For: 3.8
>
>
> The isNumber method assumes, that if the String being passed in doesn't have an 'X' at
the second char it is an octal number.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message