A floating-point value literal must have a decimal point and at least one number after the decimal point.
var floatNum = 1.2;
document.writeln(floatNum);
A floating-point value literal must have a decimal point and at least one number after the decimal point.
var floatNum = 1.2;
document.writeln(floatNum);