Citation :
Floating-Point Literals
A floating-point literal can have the following parts:
* A decimal integer
* A decimal point ("." )
* A fraction (another decimal number)
* An exponent The exponent part is an "e" or "E" followed by an integer, which can be signed (preceded by "+" or "-" ). A floating-point literal must have at least one digit and either a decimal point or "e" (or "E" ).
Some examples of floating-point literals are 3.1415, -3.1E12, .1e12, and 2E-12
|