Sgn
sgn returns the sign (-1, 0 or +1) of a numeric value.
sgn(EXP_NUM)
EXP_NUM is an expression returning a numeric value. CUBIC_ROOT = sgn(X) * abs(X) ^ (1/3)
sgn(X) returns:
* +1 if X is strictly positive.
* 0 if X is zero.
* -1 if X is strictly negative.
The type of result is Integer.
| Error code | Description |
|---|---|
| 10 | The argument is not numeric. |
abs.