中文
Node Documentation

Subtract

DataTarget independentmath.subtract

Subtracts B from A and gives the difference.

Example use

For example, subtract 2 from 7 to get 5, then connect the result to a numeric input.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 2

Value AaNumber

The first operand or value to compare; use the type shown below.

Default availableDefault: 0
Value BbNumber

The second operand or value to compare; use the type required by this node.

Default availableDefault: 0

Data outputs 1

ResultresultNumber

The result of this data operation, with its type determined by the matching inputs.

Version and node identity

Version 1.0.0

sha256:9a83be010d7657615e00596cbe4504eebcdc63998654bd575f1e654a9e6d00f0