calcul.io
math playground
New
calculation
Help
Instructions
Examples
Functions
Constants
Display Debug info
Functions
Arithmetic
sign
sign
sign(x)
Try it yourself:
$1
sign(3.5)
$2
sign(-4.2)
$3
sign(0)
See also:
abs
All functions