You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Piotr Kosmala (JIRA)" <ji...@apache.org> on 2018/02/10 14:33:01 UTC

[jira] [Issue Comment Deleted] (LANG-1060) NumberUtils.isNumber assumes number starting with Zero is octal

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

Piotr Kosmala updated LANG-1060:
--------------------------------
    Comment: was deleted

(was: Hi [~chtompki]

You can look for fix error
NumberUtils.isCreatable("002.345");)

> 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: Rob Tompkins
>            Priority: Major
>             Fix For: 3.x
>
>
> 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)