Hello developers!
In thit article we are going to discuss how to convert strinng to number in Javascript.
I know this is simple question that already answered, So why we are discussing here?
Many time I stuck in javascript when I need to do type conversion string to number at that moment I only used parseInt() Javascript function.
ParseInt() function work perfactly for me, but here is a irritating issue while you are working on somthing and you need to do type conversion with this function it's irritatting, right?
So, I've two more ideas to convert string to number, This will help you to save more time, and specially I enjoy this kind of type conversion.
Let's start with type conversion string to number in Javascript.
We already know parseInt() function to convert string to number but still are going to discuss it, may be somebody doens'nt know it.