In this section we will learn about the Number Properties in JavaScript.
Number Properties:
JavaScript consists of only one type of number, those numbers can be written with or with out decimals like below.
var A = 21 // Without Decimal// var B = 2.1 // With Decimal //
For extra large numbers we can write with exponential notation.
var A = 212e5 // Value is 2,120,000 //
For extra large numbers we can writw with exponential notation.
var A = 212e-5 // Value is 0.00212 //
In above cases "e" nothing but the exponential value of number "10".