The SGN function determines whether a numeric expression is positive, negative, or zero. It returns a one if the expression is positive, a minus one if the expression is negative, and zero if the expression is zero. Example Sign% = SGN(-45 * 35 / 6 - 3000)
1 – Syntax
int-var = SGN(real-exp)