SGN - source-solutions/HELP GitHub Wiki

SGN


sign = SGN(number)

Returns the sign of number: 1 for positive, 0 for zero and -1 for negative.

Parameters

number is a numeric expression.

Errors

number has a string value: Type mismatch.

⚠️ **GitHub.com Fallback** ⚠️