Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Div (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
m (MPI div moved to Div (MPI))
Line 1: Line 1:
-
[[Category:MPI functions]]
+
[[Category:MPI functions]][[Category:MPI Math Functions]]
=div=
=div=
<mpi>{div:expr1,expr2}
<mpi>{div:expr1,expr2}

Revision as of 00:37, 31 March 2007

div

{div:expr1,expr2}
{div:expr1,expr2,expr3...}

Returns the value of expr1 divided by expr2.

Division by zero will return zero. If more than two arguments are given, then the first argument is divided by the second, and the result is divided by the third, etc, for all of the arguments.

For example:

{div:180,6,3,5}
would be read like 180 / 6 / 3 / 5, and a result of 2 would be returned.
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox