signum

signum

> Funzioni

Determina il segno del numero number.

Impostazioni
Feedback
Esempi

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