Math

Subtraction

Operators

Returns the mathematical subtraction

Docs for v2.1.16, the latest version.

ID

math-operators-subtraction

Group

Operators

Plugin

Math

Keywords

sub
-
/^-\d*/

Subtraction

Operators

2 inputs, 1 output

Ports

Inputs

2

What the node takes in, from wires or typed values.

Minuend

Number

First operand for subtraction

A

Number

Subtraction

Outputs

1

What the node gives out, to wire into other nodes.

Number

Number

Result of subtraction

Creation method#

There are two options for creating a Subtraction node.#

  • The first way to create a Subtraction node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • sub , -
    • - ( Any numeric value that will become the default value for port B ).
  • The second way is to select a Subtraction node from the menu that opens from the top left.
    • Menu > Math > Operators > Subtraction

Steps#

  • Create a Subtraction node.
  • Connect the first operand for subtraction to the first port.
  • Connect the second operand for subtraction to the second port.

See also#

Multiplication
Addition\

History

First documented in v2.1.16

Oct 20, 2026

Versions before it were published before changes were recorded.