Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / output / Number.js
1 Ext.data.JsonP.Number({"tagname":"class","html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/Number.html#Number' target='_blank'>Number.js</a></div></pre><div class='doc-contents'><p>Creates a wrapper object to allow you to work with numerical values.</p>\n\n<p>The primary uses for the <code>Number</code> object are:</p>\n\n<p>If the argument cannot be converted into a number, it returns <code>NaN</code>.</p>\n\n<p>In a non-constructor context (i.e., without the <code>new</code> operator), <code>Number</code> can\nbe used to perform a type conversion.</p>\n\n<h1>Using the <code>Number</code> object to assign values to numeric variables</h1>\n\n<p>The following example uses the <code>Number</code> object's properties to assign values to\nseveral numeric variables:</p>\n\n<pre><code>biggestNum = Number.MAX_VALUE;\nsmallestNum = Number.MIN_VALUE;\ninfiniteNum = Number.POSITIVE_INFINITY;\nnegInfiniteNum = Number.NEGATIVE_INFINITY;\nnotANum = Number.NaN;\n</code></pre>\n\n<h1>Using <code>Number</code> to convert a <code>Date</code> object</h1>\n\n<p>The following example converts the <code>Date</code> object to a numerical value using\n<code>Number</code> as a function:</p>\n\n<pre><code>var d = new Date(\"December 17, 1995 03:24:00\");\nprint(Number(d));\n</code></pre>\n\n<p>This displays \"819199440000\".</p>\n\n<p>The following example converts the Date object to a numerical value using\n<code>Number</code> as a function:</p>\n\n<div class=\"notice\">\nDocumentation for this class comes from <a href=\"https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number\">MDN</a>\nand is available under <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">Creative Commons: Attribution-Sharealike license</a>.\n</div>\n\n</div><div class='members'><div id='m-property'><h3 class='members-title'>Properties</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Instance Properties</h3><div id='property-NEGATIVE_INFINITY' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-property-NEGATIVE_INFINITY' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-property-NEGATIVE_INFINITY' class='name expandable'>NEGATIVE_INFINITY</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span></div><div class='description'><div class='short'>Special value representing negative infinity; returned on overflow. ...</div><div class='long'><p>Special value representing negative infinity; returned on overflow.</p>\n\n<p>The value of <code>Number.NEGATIVE_INFINITY</code> is the same as the negative value of the global object's\nInfinity property.</p>\n\n<p>This value behaves slightly differently than mathematical infinity:</p>\n\n<ul>\n<li>Any positive value, including POSITIVE_INFINITY, multiplied by NEGATIVE_INFINITY is NEGATIVE_INFINITY.</li>\n<li>Any negative value, including NEGATIVE_INFINITY, multiplied by NEGATIVE_INFINITY is\nPOSITIVE_INFINITY.</li>\n<li>Zero multiplied by NEGATIVE_INFINITY is NaN.</li>\n<li>NaN multiplied by NEGATIVE_INFINITY is NaN.</li>\n<li>NEGATIVE_INFINITY, divided by any negative value except NEGATIVE_INFINITY, is\nPOSITIVE_INFINITY.</li>\n<li>NEGATIVE_INFINITY, divided by any positive value except POSITIVE_INFINITY, is\nNEGATIVE_INFINITY.</li>\n<li>NEGATIVE_INFINITY, divided by either NEGATIVE_INFINITY or POSITIVE_INFINITY, is NaN.</li>\n<li>Any number divided by NEGATIVE_INFINITY is Zero.</li>\n</ul>\n\n\n<p>Several JavaScript methods (such as the <code>Number</code> constructor, <code>parseFloat</code>, and <code>parseInt</code>) return\n<code>NaN</code> if the value specified in the parameter is significantly lower than <code>Number.MIN_VALUE</code>.</p>\n\n<p>You might use the <code>Number.NEGATIVE_INFINITY</code> property to indicate an error condition that returns a\nfinite number in case of success. Note, however, that <code>isFinite</code> would be more appropriate in such\na case.</p>\n\n<p>In the following example, the variable smallNumber is assigned a value that is smaller than the\nminimum value. When the <code>if</code> statement executes, <code>smallNumber</code> has the value <code>\"-Infinity\"</code>, so\n<code>smallNumber</code> is set to a more manageable value before continuing.</p>\n\n<pre><code>var smallNumber = (-Number.MAX_VALUE) * 2\nif (smallNumber == Number.NEGATIVE_INFINITY) {\n    smallNumber = returnFinite();\n}\n</code></pre>\n</div></div></div><div id='property-POSITIVE_INFINITY' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-property-POSITIVE_INFINITY' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-property-POSITIVE_INFINITY' class='name expandable'>POSITIVE_INFINITY</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span></div><div class='description'><div class='short'>Special value representing infinity; returned on overflow. ...</div><div class='long'><p>Special value representing infinity; returned on overflow.</p>\n\n<p>The value of <code>Number.POSITIVE_INFINITY</code> is the same as the value of the global object's Infinity\nproperty.</p>\n\n<p>This value behaves slightly differently than mathematical infinity:</p>\n\n<ul>\n<li>Any positive value, including POSITIVE_INFINITY, multiplied by POSITIVE_INFINITY is\nPOSITIVE_INFINITY.</li>\n<li>Any negative value, including NEGATIVE_INFINITY, multiplied by POSITIVE_INFINITY is\nNEGATIVE_INFINITY.</li>\n<li>Zero multiplied by POSITIVE_INFINITY is NaN.</li>\n<li>NaN multiplied by POSITIVE_INFINITY is NaN.</li>\n<li>POSITIVE_INFINITY, divided by any negative value except NEGATIVE_INFINITY, is\nNEGATIVE_INFINITY.</li>\n<li>POSITIVE_INFINITY, divided by any positive value except POSITIVE_INFINITY, is\nPOSITIVE_INFINITY.</li>\n<li>POSITIVE_INFINITY, divided by either NEGATIVE_INFINITY or POSITIVE_INFINITY, is NaN.</li>\n<li>Any number divided by POSITIVE_INFINITY is Zero.</li>\n</ul>\n\n\n<p>Several JavaScript methods (such as the <code>Number</code> constructor, <code>parseFloat</code>, and <code>parseInt</code>) return\n<code>NaN</code> if the value specified in the parameter is significantly higher than <code>Number.MAX_VALUE</code>.</p>\n\n<p>You might use the <code>Number.POSITIVE_INFINITY</code> property to indicate an error condition that returns a\nfinite number in case of success. Note, however, that <code>isFinite</code> would be more appropriate in such\na case.</p>\n\n<p>In the following example, the variable <code>bigNumber</code> is assigned a value that is larger than the\nmaximum value. When the if statement executes, <code>bigNumber</code> has the value \"Infinity\", so <code>bigNumber</code>\nis set to a more manageable value before continuing.</p>\n\n<pre><code>var bigNumber = Number.MAX_VALUE * 2\nif (bigNumber == Number.POSITIVE_INFINITY) {\n    bigNumber = returnFinite();\n}\n</code></pre>\n</div></div></div></div><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Static Properties</h3><div id='static-property-MAX_VALUE' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-static-property-MAX_VALUE' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-static-property-MAX_VALUE' class='name expandable'>MAX_VALUE</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><strong class='static-signature'>static</strong></div><div class='description'><div class='short'>The largest positive representable number. ...</div><div class='long'><p>The largest positive representable number. The largest negative representable\nnumber is <code>-MAX_VALUE</code>.</p>\n\n<p>The <code>MAX_VALUE</code> property has a value of approximately 1.79E+308. Values larger than <code>MAX_VALUE</code> are\nrepresented as <code>\"Infinity\"</code>.</p>\n\n<p>Because <code>MAX_VALUE</code> is a static property of <code>Number</code>, you always use it as <code>Number.MAX_VALUE</code>,\nrather than as a property of a <code>Number</code> object you created.</p>\n\n<p>The following code multiplies two numeric values. If the result is less than or equal to\n<code>MAX_VALUE</code>, the <code>func1</code> function is called; otherwise, the <code>func2</code> function is called.</p>\n\n<pre><code>if (num1 * num2 &lt;= Number.MAX_VALUE)\n    func1();\nelse\n    func2();\n</code></pre>\n</div></div></div><div id='static-property-MIN_VALUE' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-static-property-MIN_VALUE' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-static-property-MIN_VALUE' class='name expandable'>MIN_VALUE</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><strong class='static-signature'>static</strong></div><div class='description'><div class='short'>The smallest positive representable number -- that is, the positive number\nclosest to zero (without actually being ze...</div><div class='long'><p>The smallest positive representable number -- that is, the positive number\nclosest to zero (without actually being zero). The smallest negative\nrepresentable number is <code>-MIN_VALUE</code>.</p>\n\n<p>The <code>MIN_VALUE</code> property is the number closest to 0, not the most negative number, that JavaScript\ncan represent.</p>\n\n<p><code>MIN_VALUE</code> has a value of approximately 5e-324. Values smaller than <code>MIN_VALUE</code> (\"underflow\nvalues\") are converted to 0.</p>\n\n<p>Because <code>MIN_VALUE</code> is a static property of <code>Number</code>, you always use it as <code>Number.MIN_VALUE</code>,\nrather than as a property of a <code>Number</code> object you created.</p>\n\n<p>The following code divides two numeric values. If the result is greater than or equal to\n<code>MIN_VALUE</code>, the <code>func1</code> function is called; otherwise, the <code>func2</code> function is called.</p>\n\n<pre><code>if (num1 / num2 &gt;= Number.MIN_VALUE)\n    func1()\nelse\n    func2()\n</code></pre>\n</div></div></div><div id='static-property-NaN' class='member  not-inherited'><a href='#' class='side not-expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-static-property-NaN' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-static-property-NaN' class='name not-expandable'>NaN</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><strong class='static-signature'>static</strong></div><div class='description'><div class='short'><p>Special \"not a number\" value.</p>\n</div><div class='long'><p>Special \"not a number\" value.</p>\n</div></div></div></div></div><div id='m-method'><div class='definedBy'>Defined By</div><h3 class='members-title'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-constructor' target='_blank' class='viewSource'>view source</a></div><strong class='constructor-signature'>new</strong><a href='#!/api/Number-method-constructor' class='name expandable'>Number</a>( <span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> value</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></div><div class='description'><div class='short'>Creates new Number object. ...</div><div class='long'><p>Creates new Number object.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>value</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The numeric value of the object being created.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-toExponential' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-toExponential' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-method-toExponential' class='name expandable'>toExponential</a>( <span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> fractionDigits</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Returns a string representing the number in exponential notation. ...</div><div class='long'><p>Returns a string representing the number in exponential notation.</p>\n\n<p>A string representing a <code>Number</code> object in exponential notation with one digit before the decimal\npoint, rounded to <code>fractionDigits</code> digits after the decimal point. If the <code>fractionDigits</code> argument\nis omitted, the number of digits after the decimal point defaults to the number of digits necessary\nto represent the value uniquely.</p>\n\n<p>If you use the <code>toExponential</code> method for a numeric literal and the numeric literal has no exponent\nand no decimal point, leave a space before the dot that precedes the method call to prevent the dot\nfrom being interpreted as a decimal point.</p>\n\n<p>If a number has more digits that requested by the <code>fractionDigits</code> parameter, the number is rounded\nto the nearest number represented by <code>fractionDigits</code> digits. See the discussion of rounding in the\ndescription of the <code>toFixed</code> method, which also applies to <code>toExponential</code>.</p>\n\n<pre><code>var num=77.1234;\n\nalert(\"num.toExponential() is \" + num.toExponential()); //displays 7.71234e+1\n\nalert(\"num.toExponential(4) is \" + num.toExponential(4)); //displays 7.7123e+1\n\nalert(\"num.toExponential(2) is \" + num.toExponential(2)); //displays 7.71e+1\n\nalert(\"77.1234.toExponential() is \" + 77.1234.toExponential()); //displays 7.71234e+1\n\nalert(\"77 .toExponential() is \" + 77 .toExponential()); //displays 7.7e+1\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>fractionDigits</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>An integer specifying the number of digits after the decimal\npoint. Defaults to as many digits as necessary to specify the number.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>Exponential notation of number.</p>\n</div></li></ul></div></div></div><div id='method-toFixed' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-toFixed' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-method-toFixed' class='name expandable'>toFixed</a>( <span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> digits</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Returns a string representing the number in fixed-point notation. ...</div><div class='long'><p>Returns a string representing the number in fixed-point notation.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>digits</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The number of digits to appear after the decimal point; this may be a\nvalue between 0 and 20, inclusive, and implementations may optionally support a larger range of\nvalues. If this argument is omitted, it is treated as 0.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>A string representation of <code>number</code> that does not use\nexponential notation and has exactly <code>digits</code> digits after the decimal place.\nThe number is rounded if necessary, and the fractional part is padded with\nzeros if necessary so that it has the specified length. If <code>number</code> is greater\nthan 1e+21, this method simply calls <code>Number.toString()</code> and returns a string\nin exponential notation.</p>\n</div></li></ul></div></div></div><div id='method-toLocaleString' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-toLocaleString' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-method-toLocaleString' class='name expandable'>toLocaleString</a>( <span class='pre'></span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Returns a human readable string representing the number using the locale of the\nenvironment. ...</div><div class='long'><p>Returns a human readable string representing the number using the locale of the\nenvironment. Overrides the <code>Object.prototype.toLocaleString</code> method.</p>\n\n<p>This method available to numbers will convert the number into a string which is suitable for\npresentation in the given locale.</p>\n\n<pre><code>var number = 3500\nconsole.log(number.toLocaleString()); // Displays \"3,500\" in English locale\n</code></pre>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>String representing the number.</p>\n</div></li></ul></div></div></div><div id='method-toPrecision' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-toPrecision' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-method-toPrecision' class='name expandable'>toPrecision</a>( <span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> precision</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Returns a string representing the number to a specified precision in fixed-\npoint or exponential notation. ...</div><div class='long'><p>Returns a string representing the number to a specified precision in fixed-\npoint or exponential notation.</p>\n\n<p>A string representing a <code>Number</code> object in fixed-point or\nexponential notation rounded to precision significant digits. See the\ndiscussion of rounding in the description of the <code>toFixed</code> method, which also\napplies to <code>toPrecision</code>.</p>\n\n<p>If the precision argument is omitted, behaves as Number.toString. If it is a\nnon-integer value, it is rounded to the nearest integer. After rounding, if\nthat value is not between 1 and 100 (inclusive), a RangeError is thrown.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>precision</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>An integer specifying the number of significant digits.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>String that represents <code>Number</code> object.</p>\n</div></li></ul></div></div></div><div id='method-toString' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-toString' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-method-toString' class='name expandable'>toString</a>( <span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> radix</span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Returns a string representing the specified object. ...</div><div class='long'><p>Returns a string representing the specified object. Overrides the\n<code>Object.prototype.toString</code> method.</p>\n\n<p>The <code>Number</code> object overrides the <code>toString</code> method of the <code>Object</code> object; it does not inherit\n<code>Object.toString</code>. For <code>Number</code> objects, the toString method returns a string representation of the\nobject in the specified radix.</p>\n\n<p>The <code>toString</code> method parses its first argument, and attempts to return a string representation in\nthe specified radix (base). For radixes above 10, the letters of the alphabet indicate numerals\ngreater than 9. For example, for hexadecimal numbers (base 16), A through F are used.</p>\n\n<p>If <code>toString</code> is given a radix not between 2 and 36, an exception is thrown.</p>\n\n<p>If the radix is not specified, JavaScript assumes the preferred radix is 10.</p>\n\n<pre><code>var count = 10;\nprint(count.toString());   // displays \"10\"\nprint((17).toString());    // displays \"17\"\n\nvar x = 7;\nprint(x.toString(2));      // displays \"111\"\n</code></pre>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>radix</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>An integer between 2 and 36 specifying the base to use for representing\nnumeric values.</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>The number represented as a string.</p>\n</div></li></ul></div></div></div><div id='method-valueOf' class='member  not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Number' rel='Number' class='definedIn docClass'>Number</a><br/><a href='source/Number.html#Number-method-valueOf' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Number-method-valueOf' class='name expandable'>valueOf</a>( <span class='pre'></span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></div><div class='description'><div class='short'>Returns the primitive value of the specified object. ...</div><div class='long'><p>Returns the primitive value of the specified object. Overrides the\n<code>Object.prototype.valueOf</code> method.</p>\n\n<p>The <code>valueOf</code> method of <code>Number</code> returns the primitive value of a <code>Number</code> object as a number data\ntype.</p>\n\n<p>This method is usually called internally by JavaScript and not explicitly in code.</p>\n\n<pre><code>var x = new Number();\nprint(x.valueOf());     // prints \"0\"\n</code></pre>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>The primitive value of the number.</p>\n</div></li></ul></div></div></div></div></div></div></div>","allMixins":[],"meta":{},"requires":[],"deprecated":null,"extends":null,"inheritable":false,"static":false,"superclasses":[],"singleton":false,"code_type":"nop","alias":null,"statics":{"property":[{"tagname":"property","deprecated":null,"static":true,"owner":"Number","template":null,"required":null,"protected":false,"name":"MAX_VALUE","id":"static-property-MAX_VALUE"},{"tagname":"property","deprecated":null,"static":true,"owner":"Number","template":null,"required":null,"protected":false,"name":"MIN_VALUE","id":"static-property-MIN_VALUE"},{"tagname":"property","deprecated":null,"static":true,"owner":"Number","template":null,"required":null,"protected":false,"name":"NaN","id":"static-property-NaN"}],"css_var":[],"css_mixin":[],"cfg":[],"method":[],"event":[]},"subclasses":[],"uses":[],"protected":false,"mixins":[],"members":{"property":[{"tagname":"property","deprecated":null,"static":false,"owner":"Number","template":null,"required":null,"protected":false,"name":"NEGATIVE_INFINITY","id":"property-NEGATIVE_INFINITY"},{"tagname":"property","deprecated":null,"static":false,"owner":"Number","template":null,"required":null,"protected":false,"name":"POSITIVE_INFINITY","id":"property-POSITIVE_INFINITY"}],"css_var":[],"css_mixin":[],"cfg":[],"method":[{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"constructor","id":"method-constructor"},{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"toExponential","id":"method-toExponential"},{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"toFixed","id":"method-toFixed"},{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"toLocaleString","id":"method-toLocaleString"},{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"toPrecision","id":"method-toPrecision"},{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"toString","id":"method-toString"},{"tagname":"method","deprecated":null,"static":false,"owner":"Number","template":false,"required":null,"protected":false,"name":"valueOf","id":"method-valueOf"}],"event":[]},"private":false,"component":false,"name":"Number","alternateClassNames":[],"id":"class-Number","mixedInto":[],"xtypes":{},"files":[{"href":"Number.html#Number","filename":"Number.js"}]});