Day 18— parseFloat, parseInt

What I learned from JavaScript 30(Course Web — https://javascript30.com/)

Coding on Github


parseFloat()

Parse the string to number.
En-MDN: parseFloat

parseInt()

Parse the string to integer number.

parseInt(‘32.33’) // result is 32
parseInt(‘32.83’) // result is 32