Q_Sign()
Syntax
sign.l = Q_Sign(n.qfloat [, result.qfloat])
Description
Returns -1 if n < 0 0 if n = 0 1 if n > 0 If the optional parameter is given the result will be stored in it, the function returns an integer.