SIGN
This page describes the SIGN function in Lenses SQL.
Returns +1 if a value is positive or -1 if a value is negative.
Available in:
Processors | SQL Studio |
---|---|
✓ | ✓ |
Sample code:
Output:
We use the NEG function to emulate a negative value in this function.
Last updated