xHarbour Reference Documentation > Function Reference |
Calculates the modulus of two numbers.
Mod( <nDividend>, <nDivisor> ) --> nRemainder
The function returns the numeric remainder of a division of <nDividend> by <nDivisor>.
Function Mod() exists for compatibility reasons only. It is superseeded by the modulus operator.
See also: | % operator |
Source: | rtl\mod.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com