====== mul ======
===== Description =====
Multiply one number by another.
===== Function prototype =====
variant mul
===== Arguments =====
^ Name ^ Type ^ Comment ^
| //arg1// | variant | The first number to be multiplied. |
| //arg2// | variant | The second number to be multiplied. |
If the type of //arg1// is not equal to that of //arg2//, the ordering of the arguments may change the result of calls to ''mul''. See comments for [[plugins:general:zeoscript:reference:functions:add]].
===== Return value =====
The value of //arg1// multiplied by //arg2//, in the data type of //arg1//.
===== Example =====
echo
... the output of which is written to the event log by [[plugins:general:zeoscript:reference:functions:echo]] as:
10
===== Comments =====
None.
===== See also =====
* [[plugins:general:zeoscript:reference:functions:add]]
* [[plugins:general:zeoscript:reference:functions:sub]]
* [[plugins:general:zeoscript:reference:functions:div]]
* [[plugins:general:zeoscript:reference:functions:mod]]