W3Schools.com

JavaScript MIN_VALUE Property

Number Object Reference JavaScript Number Object

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.

Syntax

Number.MIN_VALUE


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The MIN_VALUE property is supported in all major browsers.


Example

Example

Return the smallest number possible in JavaScript:

<script type="text/javascript">

document.write(Number.MIN_VALUE);

</script>

The output of the code above will be:

5e-324

Try it yourself »


Number Object Reference JavaScript Number Object
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE