Osiris/API/IntegerDivide
From Divinity Engine Wiki
Full Definition(s)
- query IntegerDivide([in](INTEGER)_A, [in](INTEGER)_B, [out](INTEGER)_Quotient)
Description
Returns the _Quotient of division of _A by _B.
Return Values
- Success/Failure: Never fails.
- _Quotient: The result of dividing _A by _B.
Notes
- Warning: attempts to calculate the remainder after division by 0 causes undefined behaviour and is not caught.