Number

Number is probably the other most widespread primitive data type along with string and boolean. The same as in JavaScript, number defines a floating point number. The number type also defines hexadecimal, decimal, binary, and octal literals:

var age: number = 7;
var height: number = 5.6;
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset