PC Logo Wiki
Advertisement

Syntax

REMAINDER number number

Explanation

REMAINDER outputs an integer which is the remainder of dividing the first by the second. See also / and QUOTIENT.

Examples

? REMAINDER 6 3

Result: 0

? REMAINDER 159 2

Result: 1

? REMAINDER 689 468

Result: 221

?

Advertisement