• Math is not available in the Lite version

Native Math vs. 1.1.0 FULL ONLY

The Math object has a number of intrinsic properties and methods. The properties are specific numbers. More details can be found at MSDN or MDN.

The NoGray JavaScript Library extends the Math object with additional mathematical methods.

Methods

Function Math.factorial (n) vs. 1.1.0 FULL ONLY
In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.
Function Math.choose (n, k) vs. 1.1.0 FULL ONLY
The number of k-combinations (each of size k) from a set S with n elements (size n) is the binomial coefficient (also known as the "choose function").
Function Math.sum (start, end, func) vs. 1.1.0 FULL ONLY
Return the total sum between the start and end numbers.