multiply: Difference between revisions
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=== <...) |
No edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= | {{MacroFunction | ||
|name=multiply | |||
|description= | |||
Returns the numbers that are passed in multiplied together. | Returns the numbers that are passed in multiplied together. | ||
|usage= | |||
< | <syntaxhighlight lang="mtmacro" line> | ||
[h: val = multiply(num, num, ...)] | [h: val = multiply(num, num, ...)] | ||
</ | </syntaxhighlight> | ||
|examples= | |||
<syntaxhighlight lang="mtmacro" line> | |||
< | |||
[r: multiply(2, 5, 6)] | [r: multiply(2, 5, 6)] | ||
[r: multiply(4, 3, 2)] | [r: multiply(4, 3, 2)] | ||
</ | </syntaxhighlight> | ||
Returns | Returns | ||
30 | 30 | ||
24 | 24 | ||
}} | |||
[[Category:Mathematical Function]] |
Latest revision as of 23:59, 14 March 2023
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
3024