Sign

Explanation
The sign of a value is -1 if the value is negative. The sign is 0 when the value is 0. And the sign is 1 if the value is positive.

Examples
sign(-1286) returns -1 sign(138) returns 1 sign(0) returns 0