Top Categories
Converting strings to numbers in JavaScript
- Category:
- Sub Category:
In this video we will discuss different methods that are available in JavaScript to convert strings to numbers. This example allows the user to enter 2 numbers and add them. Along the way we will learn the use of the following functions 1. parseInt() 2. parseFloat() 3. isNan()