JavaScript Numbers
JavaScript has only one type of number.Numbers can be written with, or without, decimals:
Example:-
var x = 3.14; // A number with decimals
var y = 34; // A number without decimals
var x = 3.14; // A number with decimals
var y = 34; // A number without decimals
No comments:
Post a Comment