SyntaxFix
Write A Post
Hire A Developer
Questions
Yet another way: if you are working with a C string, e.g. const char *, C native atoi() is more convenient.
atoi()