negate node

Changes the sign of the input value or field.

Inputs

value [in]

The value to be negated.

Outputs

negated [out]

A negative value if the input was positive, or a positive value if the input was negative. The magnitude of the input value is preserved.