multiply: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function multiply== Returns the numbers that are passed in multiplied together. ===Usage=== <source lang="mtmacro" line> [h: val = multiply(num, num, ...)] </source> ===Examples=== <...)
 
m (Applied Template:MacroFunction)
Line 1: Line 1:
==Function multiply==
{{MacroFunction
|name=multiply
|description=
Returns the numbers that are passed in multiplied together.
Returns the numbers that are passed in multiplied together.


===Usage===
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: val = multiply(num, num, ...)]
[h: val = multiply(num, num, ...)]
</source>
</source>


 
|examples=
 
===Examples===
<source lang="mtmacro" line>
<source lang="mtmacro" line>
     [r: multiply(2, 5, 6)]   
     [r: multiply(2, 5, 6)]   
Line 17: Line 17:
     30
     30
     24
     24
}}
[[Category:Mathematical Function]]

Revision as of 03:37, 9 March 2009

multiply() Function

Returns the numbers that are passed in multiplied together.

Usage

[h: val = multiply(num, num, ...)]

Examples

    [r: multiply(2, 5, 6)]   
    [r: multiply(4, 3, 2)]

Returns

   30
24