|
Lugaru's Epsilon Programmer's Editor
Context:
|
Epsilon User's Manual and Reference > Epsilon Extension Language > Lexical Rules > Numeric ConstantsThe term numeric constant collectively refers to decimal constants, octal constants, binary constants and hex constants.
A sequence of digits is a decimal constant, unless it begins with
the digit 0. If it begins with a 0, it is an octal constant
(base 8). The characters 0x followed by a hexadecimal number are also
recognized (the digits 0-9 and the letters a-f or the letters A-F
form hexadecimal numbers). These are the hex constants. The
characters 0b followed by a binary number form a binary
constant. A binary number contains only the
digits 0 and 1. Constants may contain All numeric constants in EEL are of type int.
|