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
On this page of the site you can watch the video online JavaScript - In-Built Number Functions with a duration of hours minute second in good quality, which was uploaded by the user EdYoda 28 February 2020, share the link with friends and acquaintances, this video has already been watched 451 times on youtube and it was liked by 5 viewers. Enjoy your viewing!