SIGN Function

The SIGN function returns a 1 if the parameter is positive, otherwise a -1 is returned for negative numbers.

 

Command Syntax:

SIGN([parameter1])

 

EXAMPLE:

This formula sets a line value to -1 for the parameter given.

SIGN(-3)