Oracle® OLAP DML Reference 11g Release 1 (11.1) Part Number B28126-01 |
|
|
View PDF |
The MODULO function, like the SQL MOD
function, returns the remainder after a number is divided by another ; or the number if the divisor is 0 (zero).
Return Values
Numeric.
Oracle determines the argument with the highest numeric precedence, implicitly converts the remaining arguments to that data type, and returns that data type
Syntax
MOD(dividend, divisor)
Arguments
A numeric expression (or an expression that Oracle OLAP can implicitly convert to a numeric expression) that is the number you want to divide.
A numeric expression (or an expression that Oracle OLAP can implicitly convert to a numeric expression) that is the divisor.
Examples