Description
The remainder of the left-hand operand divided by the right-hand operand. Any number modulo zero results in zero.
Return
float
Arguments
Name: VALUE
Description: The left-hand operand. May be any value that results in a number.
Type: float
Default: NUMBERName: VALUE
Description: The right-hand operand. May be any value that results in a number.
Type: unsigned float
Default: NUMBER
Disambiguation/Clarification
- If the left-hand operand is negative and the right-hand operand is positive, the resulting value will be the negative of what the positive left-hand operand would return. For example,
Modulo(-13, 5)
(or-13 % 5
) returns-3
(not2
), asModulo(13, 5)
would return3
.