Block Group: | Math Operations |
Icon: |
The Modulo block returns the quotient and remainder from division.
For information on using dataflow blocks, see Dataflow.
For accepted and excluded arguments of Math Operations blocks, see Math Operations.
The following properties of the Modulo block can take input and give output.
input specifies the dividend.
modulo specifies the divisor.
The following properties of the Modulo block can give output but cannot take input.
quotient returns the integer result of input divided by modulo.
remainder returns the remainder. The remainder property always has the same sign as the input property.