VistaDB 5
SIGN
Returns the positive, zero, or negative sign of the input value.


Example

SELECT SIGN(-10), SIGN(0), SIGN(32)

RETURNS:  -1,  0,  1
See Also