description |
---|
Returns the remainder of the input expression divided by the second input expression. |
- numeric_expression: The first numeric expression.
- numeric_expression: The second numeric expression.
Examples
{% code title="MOD example" %}
SELECT MOD(50, 7)
-- 1
{% endcode %}
- numeric_expression: The first numeric expression.
- numeric_expression: The second numeric expression.
Examples
{% code title="MOD example" %}
SELECT MOD(35, 5)
-- 0
{% endcode %}
- numeric_expression: The first numeric expression.
- numeric_expression: The second numeric expression.
Examples
{% code title="MOD example" %}
SELECT MOD(47.6, 5.2)
-- 0.8
{% endcode %}