[ https://issues.apache.org/jira/browse/LANG-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb closed LANG-1353. ---------------------- > NumberUtils.isNumber bug > ------------------------ > > Key: LANG-1353 > URL: https://issues.apache.org/jira/browse/LANG-1353 > Project: Commons Lang > Issue Type: Bug > Components: lang.math.* > Affects Versions: 3.6 > Reporter: yusw > Priority: Critical > Fix For: 3.7 > > > hi,I used to NumberUtils.isNumber()[version:3.6] find this error, this error > is mainly caused by method isCreatable() in the 723 line of code。 > See below for details: > String str = "0927"; > System.out.println(NumberUtils.isNumber(str)); > {color:red}//result:false{color} > String str1 = "9027"; > System.out.println(NumberUtils.isNumber(str1)); > //result:true -- This message was sent by Atlassian JIRA (v6.4.14#64029)