====== div ====== ===== Description ===== Divide one number by another. ===== Function prototype ===== variant div ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | //arg1// | variant | The numerator. | | //arg2// | variant | The denominator. | If the type of //arg1// is not equal to that of //arg2//, the ordering of the arguments may change the result of calls to ''div''. See comments for [[plugins:general:zeoscript:reference:functions:add]]. ===== Return value ===== The value of //arg1// divided 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: 0.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:mod]]