MOD returns the remainder after a number is divided by another, or the number if the divisor is 0 (zero).
NUMBER
MOD(n2, n1)
n2 is a numeric expression for the number to be divided.
n1 is a numeric expression for the divisor.
MOD(13,7) returns the value 6.00.
Copyright © 2003, 2007, Oracle. All rights reserved.