An integer is used to represent a signed or unsigned whole value. A plus sign (+) or a minus sign (–) immediately followed by an unsigned integer with no intervening space is always taken as a sign, and not as an operator.
An unsigned integer represents an unsigned whole value.
Integers and unsigned integers are specified in the following manner:
<integer>
──┬─────┬─<unsigned integer>───────────────────────────────────────────┤ ├─ + ─┤ └─ - ─┘
<unsigned integer>
┌◄────────┐ ──┴─<digit>─┴──────────────────────────────────────────────────────────┤
Examples
The following examples illustrate signed and unsigned integers:
0 37 +511 -123456