Osiris/API/IntegerModulo

From Divinity Engine Wiki
Revision as of 13:56, 14 November 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * query '''IntegerModulo'''('''''[in]'''(INTEGER)'''''_Num''',''''' [in]'''(INTEGER)'''''_Mod''',''''' [out]'''''(''INTEGER'')'''_Return''') ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query IntegerModulo([in](INTEGER)_Num, [in](INTEGER)_Mod, [out](INTEGER)_Return)
Description

Returns the remainder after division of _Num by _Mod as _Return.

Return Values
  • Success/Failure: Never fails.
  • _Return: The remainder after dividing _Num by _Mod.
Notes
  • Warning: attempts to calculate the remainder after division by 0 causes undefined behaviour and is not caught.
See Also