SIGN
Deprecated version
This document refers to a deprecated version of the RQL programming language.
Please go here for documentation related to the latest supported version.
Returns the sign, 1, -1 or 0 for the specified value.
Syntax
SIGN(<numeric expression>)
Example
SIGN(2) // 1
SIGN(-2) // -1
SIGN(0) // 0