Remainder | MATH_REMAINDER

Syntax

MATH_REMAINDER( [value], [other] )

Parameters

value
A number. If the value is not a NUMBER, the FLOAT operation will be used to convert it.

other
A number. If the value is not a NUMBER, the FLOAT operation will be used to convert it.

Return Value

Returns a number.

Description

Get the remainder of dividing one value by another.

Examples

MATH_REMAINDER(17, 4) # returns 1
MATH_REMAINDER(null, null) # returns 0
MATH_REMAINDER("-14", "6") # returns 2