2.2 Numeric literals

Numeric literal has the form xxEsyy, where xx is a real number with optional decimal point, s is the sign + or -, yy is an integer decimal exponent. The letter E is case insensitive and can be coded as e.

Examples

123
3.14159
56.E+5
.78
123.456e-7

Numeric literals are used to represent numeric quantities. They have obvious fixed meaning.