Sgn

Sign = Sgn ( Number )

Returns the sign of a number.

Example :

PRINT Sgn(Pi)
=>  1

PRINT Sgn(-Pi)
=> -1

PRINT Sgn(0)
=>  0


Referenced by :