Q_Cmp()

Syntax

k.l = Q_Cmp(n1.qfloat, n2.qfloat [, result.qfloat])

Description

Compares n1 with n2.
Returns
-1 if n1 < n2
0 if n1 = n2
1 if n1 > n2
 
If the optional parameter is given the result will be stored in it, the function returns an integer.