Negate

logic · C070 · starter-package 7.0.1

Reverses the sign of a finite number.

Input

  • Value (number, required): Any finite number.

Output

  • Result (number): Sign-reversed value.

Common uses

Convert credits to debits, reverse a direction or offset, invert a delta, or prepare a number for subtraction through addition.

Examples

  • 8 produces -8.
  • -3.5 produces 3.5.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Missing, ambiguous, or non-finite values fail validation and execution.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputvalue — Valuenumberyes
Outputresult — Resultnumberon success