Skip to main content
Version: Streamsheets 2.5

SIGN

Returns the sign of given number.

Syntax

=SIGN(Value)

Arguments

NameDescription
ValueValue to check.

Return

Returns 1, if number value is positive, -1, if it is negative or 0, if value is 0.

Examples

FormulaResultComment
=SIGN(-3)
-1