JavaScript Number Static Properties Last Updated : 10 Feb, 2023 Comments Improve Suggest changes Like Article Like Report The JavaScript Number is an object that can represent numeric values like integer, float, hexadecimal, decimal, etc. It acts as a wrapper object for primitive numeric values. It has various methods and properties that are used to perform different tasks on numbers. The following table shows some static properties of the Number object that can be used throughout a program as constants. Property: MAX_VALUE: It returns the maximum number value that is supported in JavaScript.MIN_VALUE: It returns the smallest positive numeric value that is closest to 0, but, not the most negative number.NEGATIVE_INFINITY: It represents the negative infinity value.POSITIVE_INFINITY: It represents the positive infinity value.MIN_SAFE_INTEGER: It represents the minimum safe integer in JavaScript.NaN: It is used for representing a value that is not a legal number. The below examples demonstrate how these properties of the Number are used. Example 1: In this example, we find out the maximum and minimum values supported in JavaScript. JavaScript console.log('Maximum Value:', Number.MAX_VALUE); console.log('Minimum Value:', Number.MIN_VALUE); Console Output: Maximum Value: 1.7976931348623157e+308 Minimum Value: 5e-324 Example 2: In this example, we find out the positive and negative infinity values in JavaScript. JavaScript console.log('Negative Infinity:', Number.NEGATIVE_INFINITY); console.log('Positive Infinity:', Number.POSITIVE_INFINITY); Console Output: Negative Infinity: -Infinity Positive Infinity: Infinity We have a Cheat Sheet on Javascript Numbers where we covered all the important topics of Javascript to check those please go through JavaScript Number Complete Reference. Comment More infoAdvertise with us Next Article JavaScript Number Static Properties N naman9071 Follow Improve Article Tags : JavaScript Web Technologies JavaScript-Properties Similar Reads JavaScript Number Reference JavaScript Numbers are always stored in double-precision 64-bit binary format IEEE 754. The types of number literals You can use decimal, binary, octal, and hexadecimal. Syntax: Number(object) JavaScript function func() { // Original string let a = true; let value = Number(a); console.log(value); } 3 min read JavaScript Number constructor Property JavaScript Number constructor Property is used to return the number constructor function for the object. The function which is returned by this property is just the reference to this function, not a number containing the functionâs name. The JavaScript number constructor, string constructor, and boo 1 min read Properties of Real Numbers The number system includes different types of numbers for example prime numbers, odd numbers, even numbers, rational numbers, whole numbers, etc. These numbers can be expressed in the form of figures as well as words accordingly. For example, the numbers like 40 and 65 expressed in the form of figur 8 min read JavaScript Math Reference JavaScript Math object is used to perform mathematical operations on numbers. Math is an inbuilt object that works with numbers types but it does not work with BigInt.Example: Below example will give you a brief idea of JavaScript math objects.javascript// Return PI value(3.141592653589793) console. 3 min read C# Restrictions on Properties Properties in C# are special class members that provide a flexible mechanism to read, write, or compute the value of a private field. They act as methods called accessors i.e. "get" and "set" methods. Using Properties, we can achieve encapsulation and information hiding. Properties allow controlled 5 min read Properties of Whole Numbers A number system refers to a system that represents numbers, where a number is defined as the mathematical value that helps to count, measure, or label and perform various mathematical calculations. We have various types of numbers based on their properties, such as natural numbers, whole numbers, in 7 min read How can addition properties help add whole numbers? The number system includes different types of numbers for example prime numbers, odd numbers, even numbers, rational numbers, whole numbers, etc. These numbers can be expressed in the form of figures as well as words accordingly. For example, the numbers like 40 and 65 expressed in the form of figur 7 min read Whole Numbers - Definition, Properties and Examples Whole numbers are the set of natural numbers (1, 2, 3, 4, 5, ...) plus zero. They do not include negative numbers, fractions, or decimals. Whole numbers range from zero to infinity. Natural numbers are a subset of whole numbers, and whole numbers are a subset of real numbers. Therefore, all natural 10 min read Natural Numbers | Definition, Examples & Properties Natural numbers are the numbers that start from 1 and end at infinity. In other words, natural numbers are counting numbers and they do not include 0 or any negative or fractional numbers.Here, we will discuss the definition of natural numbers, the types and properties of natural numbers, as well as 11 min read What is the importance of the number system? The Number System is a way of representing numbers on the number line with the help of a set of Symbols and rules. All the Mathematical concepts and formulas are based on Number system. We have curated the importance of number system in this article below.Number A number refers to a word or symbol w 6 min read Like