SGN()

Syntax:

sgn(<int of float expression>)

The SGN() function returns the sign of a numerical argument as follows:

ArgumentResult
negative value-1
zero0
positive value (excluding zero) 1