SIGN function
SIGN(Number) SIGN(Number)
Number
Number or { Number }
The number to test.
Returns
Number or { Number }
0, -1 or 1.
Returns 0 if a number is zero, -1 if it is negative and 1 if it is positive.