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.

Matching over time

Both inputs are timelines, so each dividend entry is paired with the divider in effect on its date. When both timelines are siloed by the same IDs — two fields off the same salary row, say — the pairing also matches on ID, and a dividend entry whose silo has no divider is left undivided. When the IDs are unrelated, or the divider has none at all, only the date is matched: a single org property or literal divides every entry regardless of which silo it belongs to. If several of the divider’s silos are in effect on the same date there is no right answer, and the node raises rather than guess.

List behaviour

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

Ports