Sign

Returns a number's sign, in the form of -1, 0 or +1.

Syntax

Sign(number)
number = number whose sign you want to retrieve

Remarks

If you want the absolute value, see Abs.

The ListSign function can be used to compute the sign of a list of values.

Examples

Sign(-2) = -1
Sign(PI) = 1
Sign(0) = 0

Classification

Maths