npm install signumsignum
======
Returns the sign of a floating point number
``javascript
var sgn = require("signum")
console.log(sgn(-0.00001))
console.log(sng(0))
console.log(sng(Infinity))
`
Output:
`javascript`
-1
0
1
``
npm install signum
*
x is a numberReturns One of the following values
*
-1 if x<0
* 1 if x>0
* 0` otherwise