% Operator
Returns the remainder (modulus) obtained by dividing one numeric expression into another.
nDividend % nDivisor |
Parameters
- nDividend
-
Specifies the dividend (numeric expression being divided). The number of decimal places in nDividend determines the number of decimal places in the result.
- nDivisor
-
Specifies the divisor (the numeric expression dividing the dividend nDividend). A positive number is returned if nDivisor is positive; a negative number if nDivisor is negative. nDivisor cannot be zero.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08