Sign

Summary

The Sign function returns an indicator of the sign of a numeric expression.

Syntax

Sign(numeric_exp)

Return Type

Integer

Details

 

Examples

eval Sign(0);
0
eval Sign(0.52359);
1
select Sign(-0.785398) from Empty(rows=1);
-1
 

Related Functions