Tag Archives: JavaScript Numbers

JavaScript Numbers

Unlike other programming languages in JavaScript, we only have one type number that represents all the numbers including integers, floats, real, decimal as well as complex. We can either use decimal points or simple integers to represent a number. Example let a = 20; // number without decimal let b = 20.1; // number with decimal To represent… Read More »