中文
Node Documentation

Negate

DataTarget independentmath.negate

Flips the sign of a number: positive becomes negative and vice versa.

Example use

For example, negate 3 to get -3, 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 1

ValuevalueNumber

The value operated on; supply structured data of the type shown and see the node description for its role.

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:d301b3e96baaf41b143b617512a863e96cfc716445e97d5be177c0caea456a03