mod: description: mod[n] ket apply mod n to the value in the ket by n, leaving the coefficient unchanged examples: mod[1000] |1234567> |567> see also: plus, minus, times-by, divide-by, int-divide-by, round