SyntaxFix
Write A Post
Hire A Developer
Questions
I always use parseInt, but beware of leading zeroes that will force it into octal mode.