Integers

The type of integers is written Z, , Int, or Integer. The integers include the positive and negative counting numbers (as well as zero): …, -3, -2, -1, 0, 1, 2, 3, …

Adding, multiplying, or subtracting two integers yields another integer. Trying to divide two integers will automatically convert the result to a rational number:

Disco> :type 2 * (-3)
2 * (-3) : 
Disco> :type 2 / (-3)
2 / (-3) :