Your Airkit journey starts here

SIGN

Determines the sign of a number.

Declaration

SIGN(number) -> sign

Parameters

number
number -The number you want to check.

Return Values

sign
number -Returns 1 if the number is positive, -1 if it is negative, or zero.