Table of Contents

MOD

Operator that calculates the remainder of a division between two integer values

Implemented by: altair12K, a2int, Simons1, BBC, GWBASIC, MSX, ABasiC, QBasic, VBDOS, FreeBASIC, Gambas, minibasicmm

With variations:

Also written as:

Usage

PRINT 8 MOD 3   ' Prints "2"

MOD will probably be used along with the \ (integer division) operator somewhere in the same program.

Variations

Examples

Comments

Similar keywords

In other languages...

References