中文
Node Documentation

Integer subtract

DataTarget independentmath.integer-subtract

Subtracts integer B from A and preserves the integer type; overflow fails.

Example use

For example, subtract 2 from 7 to get 5; inputs and result remain integers for counts or indexes.

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 AaInteger

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

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Value BbInteger

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

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42

Data outputs 1

ResultresultInteger

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

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Version and node identity

Version 1.0.0

sha256:fc06f011df0fd87d4cbe6d8589e391a9d8fb457290cdc30c3b2c80e2f6376cde