Skip to main content
Divides the dividend by the divider and emits three results in parallel: the decimal quotient, the integer quotient (rounded toward negative infinity), and the remainder. Pair with Add, Subtract, or Multiply for longer arithmetic chains.

Inputs

  • Dividend — the value to divide. Wire the port or type a literal. Cannot be nil.
  • Divider — the value to divide by. Cannot be nil or 0.

Outputs

  • Decimal — the quotient as a float.
  • Integer — the quotient floored to an integer.
  • Remainder — what’s left after integer division.

List behaviour

Same-length lists divide element-wise. A scalar divides each element of a list. Mismatched list lengths raise an error.

Ports