Edit

Sign (num)

Result Type: Number

Definition: Returns -1 if num is less than zero, and +1 if num is greater than or equal to zero

Examples: sign(-3.2)

returns -1