SGN

Syntax

SGN (x) and

SGN% (x)

Location Math Package (SGN) and SGN (SGN%)

Both functions work identically and return the sign of any valid number. The sign is defined as 1 for positive numbers, -1 for negative and 0 if the number is zero. Any number is allowed as a parameter.

CROSS-REFERENCE

SIGN is the same.