signum

signum

> Functions

Determines the sign of the number number.

Parameters
Return
Examples

sign(0) // 0 sign(50) // 1 signum(-12) // -1