This function returns the signum of number n as one of -1, 0, 1.
sign::=
SELECT SIGN(-123);
Please let us know how we can improve.
If there's anything we can improve on, let us know.
To help us understand your feedback, please include a link to this page.