Links
Comment on page

Modulo %

Operator: %
The modulo operator % gives the remainder of a division.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a number that is the remaining result after number1 is divided by number2.
number1 % number2
37 % 7 => 2
25 % 0 => NaN (not a number)
25 % '1d' => expression type mismatch