You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stevo Slavic (JIRA)" <ji...@apache.org> on 2011/01/25 12:03:44 UTC

[jira] Commented: (LANG-428) StringUtils.isNumeric

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

Stevo Slavic commented on LANG-428:
-----------------------------------

For anyone wandering around, you can use org.apache.commons.lang.math.NumberUtils.isDigits(String) or isNumber(String) instead (see [javadoc|http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/math/NumberUtils.html#isDigits%28java.lang.String%29] )

> StringUtils.isNumeric
> ---------------------
>
>                 Key: LANG-428
>                 URL: https://issues.apache.org/jira/browse/LANG-428
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.3
>            Reporter: Artem Sakhnov
>            Assignee: James Carman
>            Priority: Minor
>
> StringUtils.isNumeric.
> if we put empty string as parameter we got true.
> StringUtils.isNumeric("") return true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.