sign

Determines the sign of "numeric_expression", and returns 1 for a positive value, –1 for a negative value, and 0 for zero.

Syntax

sign ( numeric_expression )