Home > Expression Operators > Arithmetic Operators > #SIGN

#SIGN

Returns the sign (-1 ,1, or 0) of a number.

Syntax:

#SIGN number

Examples:

#SIGN 516.56 equals 1

#SIGN -200.04 equals -1

#SIGN 0 equals 0