HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

JavaScript MIN_VALUE Property

Number Object Reference JavaScript Number Object

Example

Return the smallest number possible in JavaScript:

Number.MIN_VALUE;

The result will be:

5e-324

Try it yourself »

Definition and Usage

The MIN_VALUE property returns the smallest number possible in JavaScript.

This static property has a value of 5e-324.

Note: Numbers smaller than this are converted to 0.

Note: MIN_VALUE is the closest number to 0 possible in JavaScript. NOT the most negative number, which is the negative MAX_NUMBER.


Always Use Number.MIN_VALUE

MIN_VALUE is a static property of the JavaScript Number object. You can ony use it as Number.MIN_VALUE.

Using x.MIN_VALUE, where x is a number or Number object, will return undefined:

Example

var x = 100;
x.MIN_VALUE;

The value of x will be:

undefined

Try it yourself »


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The MIN_VALUE property is supported in all major browsers.


Syntax

Number.MIN_VALUE

Technical Details

Return Value: A Number, 5e-324
JavaScript Version: 1.1


Number Object Reference JavaScript Number Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE