Skip to main content
Version: Streamsheets 2.4

SIGN

Returns the sign of given number.

Syntax

=SIGN(Value)

Arguments

NameDescription
ValueValue to check.

Return Value

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

Example

FunctionResult
=SIGN(-3)-1