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