Codebox Operators rmod

rmod

Reverse modulo (divide two values, output the remainder)

rmod(in1, in2): out1

Arguments:

Arguments

NameTypeDefaultDescription
in1number

The value is stored as the divisor (the value to be divided into the value in the left inlet) for calculating the remainder.

in2number

The value is divided by the value in the right inlet and the remainder is sent out the outlet.

Returns

NameTypeDescription
out1number

The modulo output

Aliases

  • !%