{div:style=display:none}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.\\		\\		Enter additional information related to this 'class' inside the \{div} macro with 'id=description'{div}
{div:id=description}{div}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#MAX_VALUE]
The largest representable number.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#MIN_VALUE]
The smallest representable number.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#NEGATIVE_INFINITY]
Special value representing negative infinity; returned on overflow.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#NaN]
Special "not a number" value.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#POSITIVE_INFINITY]
Special value representing infinity; returned on overflow.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#toExponential]\()
Returns a string representing the number in exponential notation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toExponential]\(fractionDigits)
Returns a string representing the number in exponential notation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toFixed]\()
Returns a string representing the number in fixed\-point notation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toFixed]\(digits)
Returns a string representing the number in fixed\-point notation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toLocaleString]\()
Converts the number into a string which is suitable for presentation in the given locale.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toPrecision]\()
Returns a string representing the number to a specified precision in fixed\-point or exponential notation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toPrecision]\(precision)
Returns a string representing the number to a specified precision in fixed\-point or exponential notation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toString]\()
Returns a string representing the specified Number object.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toString]\(radix)
Returns a string representing the specified Number object.{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=MAX_VALUE}{tr:id=name}{td}h6.MAX_VALUE{td}{tr}{tr:id=des}{td}{div:class=sIndent}The largest representable number.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
application.output("Largest number: " + Number.MAX_VALUE);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=MIN_VALUE}{tr:id=name}{td}h6.MIN_VALUE{td}{tr}{tr:id=des}{td}{div:class=sIndent}The smallest representable number.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
application.output("Smallest number: " + Number.MIN_VALUE);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=NEGATIVE_INFINITY}{tr:id=name}{td}h6.NEGATIVE_INFINITY{td}{tr}{tr:id=des}{td}{div:class=sIndent}Special value representing negative infinity; returned on overflow.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
application.output("Negative infinity: " + Number.NEGATIVE_INFINITY);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=NaN}{tr:id=name}{td}h6.NaN{td}{tr}{tr:id=des}{td}{div:class=sIndent}Special "not a number" value.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Object]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
application.output("NaN: " + Number.NaN);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=POSITIVE_INFINITY}{tr:id=name}{td}h6.POSITIVE_INFINITY{td}{tr}{tr:id=des}{td}{div:class=sIndent}Special value representing infinity; returned on overflow.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
application.output("Positive infinity: " + Number.POSITIVE_INFINITY);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=toExponential}{tr:id=name}{td}h6.toExponential{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toExponential{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the number in exponential notation.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number in exponential notation.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 123.45678;
application.output(n.toExponential(3));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toExponential-Number}{tr:id=name}{td}h6.toExponential{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toExponential{span}{span}\(fractionDigits){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the number in exponential notation.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} fractionDigits -- An integer specifying the number of digits after the decimal point. Defaults to as many digits as necessary to specify the number.
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number in exponential notation.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 123.45678;
application.output(n.toExponential(3));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toFixed}{tr:id=name}{td}h6.toFixed{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toFixed{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the number in fixed\-point notation.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number in fixed-point notation.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 123.45678;
application.output(n.toFixed(3));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toFixed-Number}{tr:id=name}{td}h6.toFixed{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toFixed{span}{span}\(digits){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the number in fixed\-point notation.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} digits -- The number of digits to appear after the decimal point. Defaults to 0.
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number in fixed-point notation.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 123.45678;
application.output(n.toFixed(3));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toLocaleString}{tr:id=name}{td}h6.toLocaleString{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toLocaleString{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Converts the number into a string which is suitable for presentation in the given locale.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number in the current locale.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 1000000;
application.output(n.toLocaleString());
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toPrecision}{tr:id=name}{td}h6.toPrecision{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toPrecision{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the number to a specified precision in fixed\-point or exponential notation.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number to a specified precision in fixed-point or exponential notation.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 123.45678;
application.output(n.toPrecision(5));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toPrecision-Number}{tr:id=name}{td}h6.toPrecision{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toPrecision{span}{span}\(precision){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the number to a specified precision in fixed\-point or exponential notation.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} precision -- An integer specifying the number of significant digits.
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the number to a specified precision in fixed-point or exponential notation.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 123.45678;
application.output(n.toPrecision(5));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toString}{tr:id=name}{td}h6.toString{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toString{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the specified Number object.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the specified Number object.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 7;
application.output(n.toString()); //displays "7"
application.output(n.toString(2)); //displays "111"
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toString-Number}{tr:id=name}{td}h6.toString{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}toString{span}{span}\(radix){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns a string representing the specified Number object.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} radix -- An integer between 2 and 36 specifying the base to use for representing numeric values
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- A string representing the specified Number object.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var n = 7;
application.output(n.toString()); //displays "7"
application.output(n.toString(2)); //displays "111"
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}