Easily Convert JavaScript Strings to Numbers

preview_player
Показать описание
We learn about parseFloat and parseInt, tools that we can use to turn strings into numbers.

Remember to subscribe for free code!
Комментарии
Автор

You Finnally Showed Me! I Subscribed! Everyone That I Look Up And Says JavaScript In Their Title They End Up Typing In HTML.

anderslander
Автор

thank u so much! you helped me learn to code

diamond
Автор

I want to add that it is convenient to use even shorter recording, like +"32.45" or "32.45"*1 for example, but I think parseFloat more readable

NjOdev
Автор

SO i have to input numbers like into the console like this:
90 80 70 60 70 80 90

How do I convert the list if this string into an array.

rarebarney
Автор

could also use Number ("12345")

ashersilver
Автор

Is there a way to convert numbers into a string?

trowpaw
visit shbcf.ru