CSGN

The CSGN function changes the sign of a number or variable.

Syntax

CSGN (number)

Remarks

This function will change the sign (+ or -) of a value. Typically, it is used in the form of VariableA = CSGN(VariableB).