Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Mod (MPI)

From Tapestries MUCK

Jump to: navigation, search

mod

{mod:expr1,expr2}

Returns the leftover remainder of expr1 divided by expr2.

If more than two arguments are given, then the first arguments is modded by the second, then the result of that would be modded by the third, and so on and so forth.

For example:

{mod:91,20,3}
would be read as 91 % 20 % 3, and a result of 2 would be returned.
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox