SyntaxFix
Write A Post
Hire A Developer
Questions
Although parseInt is the official function to do this, you can achieve the same with this code:
parseInt
number*1
The advantage is that you save some characters, which might save bandwidth if your code has to lots of such conversations.