WLJS LogoWLJS Notebook

Mod

Mod[m, n] gives the remainder on division of m by n.

Examples

Modulo operation:

Mod[17, 5]
(* 2 *)
Mod[10, 3]
(* 1 *)

Please visit the official Wolfram Language Reference for more details.

On this page