SGN

Returns the sign[1] of a number: -1, 0 or 1, depending on whether the number is negative, zero or positive respectively.

Syntax:

SGN(number)

Example:

SGN(-25)

returns the number -1.

  1. Weisstein, Eric W. "Sign." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Sign.html