Numeric Constants
- Last UpdatedNov 30, 2023
- 1 minute read
There are two classes of numeric constants: integer constants and real constants.
|
<integer> |
::= <digit> {<digit>} |
|
<exponent> |
::= E [+] <integer> | E - <integer> |
|
<decimal_number> |
::= <integer>[.<integer>][<exponent>] |
Real constants are distinguished by the presence of a decimal point.
Imperial units can be used see Imperial Units Syntax Description.