Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Subt (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
[[Category:MPI functions]]
+
[[Category:functions (MPI)]][[Category:Math Functions (MPI)]]
=subt=
=subt=
<mpi>{subt:expr1,expr2}
<mpi>{subt:expr1,expr2}
Line 7: Line 7:
If more than two args are given, all values are subtracted from the first value in sequence.
If more than two args are given, all values are subtracted from the first value in sequence.
-
For example: <mpi>{subt:10,3,2,4}</mpi>would be read as 10 - 3 - 2 - 4, and it would return a result of 1.
+
For example: <mpi>{subt:10,3,2,4}</mpi>would be read as 10 - 3 - 2 - 4, and it would return a result of 1.

Latest revision as of 01:42, 31 March 2007

subt

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

Returns the difference of the values expr1 and expr2.

If more than two args are given, all values are subtracted from the first value in sequence.

For example:

{subt:10,3,2,4}
would be read as 10 - 3 - 2 - 4, and it would return a result of 1.
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox