Function Mod() Foundation
Determines the modulus of two numbers in the same manner as dBASE III PLUS.
Mod( <nDividend>, <nDivisor> ) --> nRest
<nDividend> is the numerator of the division.
<nDivisor> is the denominator of the division.
The return value of Mod() is the numeric remainder of division of <nDividend> by <nDivisor>.
The numeric function Mod() is identical to the function with the same name in dBASE III PLUS. It is replaced in Xbase++ with the Modulus operator (%) and should not be used. The results of Mod() and the modulus operator are different. The example demonstrates the differences between the two.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.