--- a/LuaAPI.wiki Tue Jan 21 14:59:27 2014 +0000
+++ b/LuaAPI.wiki Tue Jan 21 21:55:24 2014 +0000
@@ -815,6 +815,14 @@
If any health stats haven't been sent before this will cause the health graph to the stats page to be hidden. Use this function in the lua scripts to produce custom graphs by calling it inside onGameStart() and using the SendStat().</blockquote>
+== Math Functions ==
+
+=== <tt>!div(dividend, divisor)</tt> ===
+
+<blockquote>Performs an integer division and returns the result.
+The result is an integer and has the value of the first parameter (integer) divided by the second parameter (integer), rounded towards zero.
+</blockquote>
+
== Debugging Functions ==
=== <tt>!WriteLnToConsole(string)</tt> ===