Determines the sign of a number.

Declaration

SIGN(number) -> sign

Parameters

number (type: number)
The number you want to check.

Return Values

sign (type: number)
Returns 1 if the number is positive, -1 if it is negative, or zero.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.