Modulo

[number/Modulo]


Takes modulo of 'a' and 'b'. Bounces synced operands on division by zero. Example:

  1. 10@0 is received via a

  2. 9@0 is received via b

  3. 1@0 is sent via remainder


Keywords: number, modulo

Input ports

  • a: number

    The divident of the operation.

  • b: number

    The divisor of the operation.

Output ports

  • remainder: number

    The remainder of the operation.

  • bounced: {"a": number, "b": number}

    Sends synced inputs on error.

Last updated