Skip to main content
Subtracts the subtrahend from the minuend and emits the difference as a decimal. Pair with Add, Multiply, or Divide for longer arithmetic chains.

Configuration

  • Minuend — the value to subtract from. Wire the input port, or type a literal in the inspector. nil is treated as 0.
  • Subtrahend — the value to subtract. Same rules as Minuend.

Matching over time

Both inputs are timelines, so each minuend entry is paired with the subtrahend 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 minuend entry whose silo has no subtrahend is left unchanged. When the IDs are unrelated, or the subtrahend has none at all, only the date is matched: a single org property or literal is subtracted from every entry regardless of which silo it belongs to. If several of the subtrahend’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 subtract element-wise. A scalar is subtracted from each element of a list. Mismatched list lengths raise an error.

Ports