JavaScript - In-Built Number Functions

Опубликовано: 28 Февраль 2020
на канале: EdYoda
451
5

For more courses, visit: https://www.edyoda.com/

Hey guys, in this video we will learn about Number Functions in JavaScript.

Practice Problems:
================
Try to answer the following questions. Post your answers in the comment section below. Also, try to explain why do you think your answer is correct. Best of Luck!!

1. console.log(toString(100))

2. console.log(parseInt('44'))

3. console.log(parseInt('22.222'))

4. console.log(parseInt('Banana'))

5. console.log(parseFloat(12))

6. console.log(parseFloat(13.3))

7. var num1 = 10; console.log(num1.toFixed(2))

8. var num1 = 15.456789; console.log(num1.toFixed())

9. var num1 = 15.456789; console.log(number.toFixed(2))

10. var num1 = 15.456789; console.log(num1.toFixed(3))

Codepen URL: https://codepen.io/qaifikhan/pen/daWYge

Previous Video: https://www.edyoda.com/course/1496?ep...

My Twitter Handle: @qaifikhan


На этой странице сайта вы можете посмотреть видео онлайн JavaScript - In-Built Number Functions длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь EdYoda 28 Февраль 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 451 раз и оно понравилось 5 зрителям. Приятного просмотра!