Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Mod (MPI)

From Tapestries MUCK

Revision as of 01:40, 31 March 2007 by Ash-Fox (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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