Numbers and Math
JavaScript has one number type for both integers and decimals. Learn about decimal precision, toFixed(), converting strings to numbers, NaN and the Math object.
Lesson 11 of 32
JavaScript has one number type for both integers and decimals. Learn about decimal precision, toFixed(), converting strings to numbers, NaN and the Math object.