SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use NumberUtil.isNumber(String str) from Apache Commons