====== mod ======
===== Description =====
Calculate the modulo of two integers (i.e. the remainder of //arg1// divided by //arg2//).
===== Function prototype =====
variant mod  
===== Arguments =====
^  Name  ^  Type  ^ Comment ^
|  //arg1//  |  variant  | The dividend of the modulo operation. |
|  //arg2//  |  variant  | The divisor of the modulo operation. |
===== Return value =====
The value of //arg1// modulo //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:
2
===== Comments =====
None.
===== See also =====
  * [[plugins:general:zeoscript:reference:functions:add]]
  * [[plugins:general:zeoscript:reference:functions:sub]]
  * [[plugins:general:zeoscript:reference:functions:mul]]
  * [[plugins:general:zeoscript:reference:functions:div]]