Integer literals are represented by a string of numbers that are not enclosed in quotation marks and do not contain decimal points.

Notes

  • Integer constants must be whole numbers; they cannot contain decimals.
  • Integer literals can start with sign characters (+/-).

Example

1994 or -2