⌨️ap computer science principles review

MOD operator

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

The MOD operator, short for modulus, is a mathematical operation that returns the remainder when one number is divided by another.

"MOD operator" also found in: