SIGN function
SIGN returns the algebraic sign of a number. It returns 1 if the number is positive, -1 if the number is negative, and 0 if the number is zero.
Syntax
SIGN(number)
number is a real number, the sign of which is to be determined.
Example
- =SIGN(3.4) returns 1.
- =SIGN(-4.5) returns -1.