Navigation
Synopsis Integer values.
Syntax sequence of digits of arbitrary length.
Types int
Usage import Integer; (deprecated, use import util::Math;)
Description The integer values are represented by the type int and are written as usual. They can be arbitrarily large.

See Number for all operations and functions on integers, reals and numbers.
Examples
  • 12
  • 0
  • -123456789

Questions
Question [1].
The type of -20 is



Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.