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.

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