Parameter | Type |
---|---|
x | decimal, double, integer |
Returns: integer
Example
query:
SELECT SIGN(1)
results:
sign |
---|
1.00 |
The mathematical signum function, returning -1, 0, or 1.
Parameter | Type |
---|---|
x | decimal, double, integer |
query:
SELECT SIGN(1)
results:
sign |
---|
1.00 |