JavaScript Number Object | Programiz D11 Phase 2 Skip to main content

JavaScript Number Object

In JavaScript, Number is a built-in object that allows us to perform various operation on numbers. It consists of different constants and methods to work with numbers.

In this reference page, you will find all the Number methods and their properties. For example, we can use the isInteger() method to check if the given number is an integer or not.

Returns a string representation of the number

Represents the maximum safe integer in JavaScript

Checks whether the provided value is safe integer

Represents the minimum safe integer in JavaScript

Represents the smallest floating point number

Represents smallest positive numeric value in JS

Represents the maximum numeric value in JS

Represents the negative infinite value

Represents the positive infinity value

Returns specified string representation of number

Returns string exponential notation of number

Returns string denoting number to given precision

Formats a number using fixed point notation

Checks if the passed value is an integer or not

Represents Not-A-Number (NaN) value