Last updated on
Jul 13, 2023
Modulo
In: Substance Model graph/Operation
Simple
Description
The Modulo node outputs the result of the modulo a
between two operands x
and y
, as in a = x % y
. The modulo operation returns the remainder of the division of x
by y
.
Note: to perform modulo operations of Float values, use the Binary operation on float node.
Parameters
- Dividend Integer
The first operandx
of the operation - Divisor Integer
The second operandy
of the operation
Example Images