SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
if(parseInt("0"+x, 10) > 0){/* x is integer */}