How to: |
The SQL function MOD returns the remainder of the first argument divided by the second argument.
MOD(n,m)
where:
Numeric
Is the dividend (number to be divided).
Numeric
Is the divisor (number to divide by). If the divisor is zero (0), MOD returns NULL.
MOD returns the remainder of n divided by m.
MOD(N,M)
For N=16 and M=5, the result is 1.
For N=34.5 and M=3, the result is 1.5.
WebFOCUS | |
Feedback |