Sign

Description
Returns the sign of the x, indicating whether x is positive, negative or zero.
Tags
Functions
Type
#
Syntax
sign(number)
Example
sign(4) == 1 sign(-9) == -1 sign(0) == 0
Template Example