DEV Community

Discussion on: JavaScript Secrets

 
abourass profile image
Antonio B.

parseInt(str, 10)

Thread Thread
 
denicmarko profile image
Marko Denic • Edited

Hi Olga. Hi Antonio.
Thanks for reading and taking the time to comment.

There is at least 10 different ways to convert a string to number. Maybe I create a dedicated post about this topic.