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

JavaScript MIN_VALUE Property

JavaScript Number Reference JavaScript Number Reference

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 value closest to 0. The most negative number is the negative MAX_NUMBER.


Always Use Number.MIN_VALUE

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

Using x.MIN_VALUE, where x is a number or a 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


JavaScript Number Reference JavaScript Number Reference

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 FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook