Integer negate
DataTarget independent
math.integer-negateFlips an integer sign while preserving its type.
Example use
For example, negate 3 to get -3; 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 1
- Value
valueInteger The value operated on; supply structured data of the type shown and see the node description for its role.
Default availableDefault:0- Minimum: -9007199254740991
- Maximum: 9007199254740991
Value format examples
042
Data outputs 1
- Result
resultInteger The result of this data operation, with its type determined by the matching inputs.
- Minimum: -9007199254740991
- Maximum: 9007199254740991
Value format examples
042
Version and node identity
Version 1.0.0
sha256:9a6cf9909e7883cf186b4c5b285df766c180db0bc788b66714da3560df289600