SIGN

Returns 1 if the number is positive, zero (0) if the number is 0, and -1 if the number is negative.

Parameter List

Syntax
SIGN(value)
value

The value whose sign will be evaluated.

More details

Returns 1 if the number is positive, zero (0) if the number is 0, and -1 if the number is negative.

Examples

SIGN(42) returns 1, because the number is positive.