External: Math

Math

The built in Math Object
Source:
math.js, line 7
See:

Methods

sign(x) → {number}

The Math.sign() function returns the sign of a number, indicating whether the number is positive, negative or zero.
Parameters:
Name Type Description
x number a number.
Source:
math.js, line 21
Returns:
sign of the number
Type
number