Subtract
DataTarget independent
math.subtractSubtracts 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 A
aNumber The first operand or value to compare; use the type shown below.
Default availableDefault:0- Value B
bNumber The second operand or value to compare; use the type required by this node.
Default availableDefault:0
Data outputs 1
- Result
resultNumber The result of this data operation, with its type determined by the matching inputs.
Version and node identity
Version 1.0.0
sha256:9a83be010d7657615e00596cbe4504eebcdc63998654bd575f1e654a9e6d00f0