portableSql
Mod Portable SQL Function
Syntax
Mod as N (Numerator as N, Denominator as N)
Arguments
- NumeratorNumeric
A numeric field or value.
- DenominatorNumeric
A numeric field or value. The denominator should be a non-zero value.
Returns
- resultNumeric
Returns the integer remainder of a number divided by another.
Description
Returns the integer remainder of a number divided by another.
Discussion
The Mod function calculates the integer remainder of a number divided by another.
Mod() function executed on the Northwind Access database
SELECT FIRST 1 Mod(12,5) AS EXPR1 FROM Products = 2