Divides two integers and returns the quotient and remainder.
Math,IntDiv,<QuotientVar>,<RemainderVar>,<Value1>,<Value2>
Argument | Description |
---|---|
QuotientVar | The variable where the result will be stored. |
RemainderVar | The variable where the remainder will be stored. |
Value1 | The first value in the equation. |
Value2 | The second value in the equation. |
None.
[Main]
Title=Math-IntDiv Example
Description=Show usage of the Math,IntDiv Command
Author=Homes32
[Variables]
[Process]
Math,IntDiv,%quot%,%remain%,634,37
Message,"634 / 37 = %quot% r. %remain%"