Skip to content

Unary negate

Description

Clicking this option inserts the “–“ operator in the formula at the current cursor position. You use this operator to reverse a numeric value (of an expression).

Sample

return (-{OrderHea.Order_Total})

When used as:

Let iNum = -10
Return (-iNum)

The result is positive 10.