Results 101 - 120 of 1,719

Math.max()

The `Math.max()` function returns the largest of zero or more numbers.

Math.min()

The `Math.min()` function returns the smallest of zero or more numbers.

Math.pow()

The `Math.pow()` function returns the `base` to the `exponent` power, that is, `baseexponent`.

Math.random()

The `Math.random()` function returns a floating-point, pseudo-random number in the range [`0, 1)` that is, from 0 (inclusive) up to but not including 1 (exclusive), which you can then scale to your desired range. The implementation selects the initial seed to the random number generation algorithm; it cannot be chosen or reset by the user.

Math.round()

The `Math.round()` function returns the value of a number rounded to the nearest integer.

Math.sign()

The `Math.sign()` function returns the sign of a number, indicating whether the number is positive, negative or zero.

Math.sin()

The `Math.sin()` function returns the sine of a number.

Math.sqrt()

The `Math.sqrt()` function returns the square root of a number, that is

Math.tan()

The `Math.tan()` function returns the tangent of a number.

Number.isFinite()

The `Number.isFinite()` method determines whether the passed value is a finite number.

Number.isInteger()

The `Number.isInteger()` method determines whether the passed value is an integer.

Number.isNaN()

The `Number.isNaN()` method determines whether the passed value is `NaN`. It is a more robust version of the original, global `isNaN()`.

Number.isSafeInteger()

The `Number.isSafeInteger()` method determines whether the provided value is a number that is a safe integer. A safe integer is an integer that

Number.parseFloat()

The `Number.parseFloat()` method parses a string argument and returns a floating point number. This method behaves identically to the global function `parseFloat()` and is part of ECMAScript 6 (its purpose is modularization of globals).

Number.parseInt()

The `Number.parseInt()` method parses a string argument and returns an integer of the specified radix or base.

Number.prototype.toExponential()

The `toExponential()` method returns a string representing the Number object in exponential notation.

Number.prototype.toFixed()

The `toFixed()` method formats a number using fixed-point notation.

Number.toInteger()

The `Number.toInteger()` method used to evaluate the passed value and convert it to an integer, but its implementation has been removed.

Number.prototype.toPrecision()

The `toPrecision()` method returns a string representing the `Number` object to the specified precision.

Number.prototype.toSource()

The `toSource()` method returns a string representing the source code of the object.