...
...
Divcache 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'
...
...
...
Table Row (tr) Table Head (th)Property Summary
Table Row (tr) Table Cell (td)MAX_VALUE The largest representable number.
Table Row (tr) Table Cell (td)MIN_VALUE The smallest representable number.
true refresh 100d showRefresh true id doc title Refresh page showDate true retry Enable
servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient sWordList MobileClient
servoy sSummary 12% 30% 58% height: 30px; 3 Property Summary The largest representable number. The smallest representable number. Special value representing negative infinity; returned on overflow.
...
...
...
Special "not a number" value.
...
Special value representing infinity; returned on overflow.
...
...
...
...
servoy sSummary 12% 30% 58% height: 30px;
...
Table Head (th)Method Summary
...
3 Methods Summary Returns a string representing the number in exponential notation.
...
...
Returns a string representing the number in exponential notation.
...
...
Returns a string representing the number in fixed-point notation.
...
...
...
Returns a string representing the number in fixed-point notation.
...
Converts the number into a string which is suitable for presentation in the given locale.
...
...
Returns a string representing the number to a specified precision in fixed-point or exponential notation.
...
...
...
Returns a string representing the number to a specified precision in fixed-point or exponential notation.
...
Returns a string representing the specified Number object.
...
...
HTML Tableid Returns a string representing the specified Number object.
...
property class Colgroup Tag Column Table Row (tr)style servoy sDetail 2 100% height:30px ; Table Head (th)2 Property Details Table Body (tbody)id id MAX_VALUE Table Row (tr)name Table Cell (td)MAX_VALUE Table Row (tr)id des Table Cell (td) Divclass id sIndent The largest representable number. Table Row (tr)td ret Returns
div sIndent clients
Number Table Row (tr) Table Cell (td)Sample Div Code Blockapplication.output("Largest number: " + Number.MAX_VALUE);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td) DivThe smallest representable number.
Table Row (tr) Table Cell (td)Sample Div Code Blockapplication.output("Smallest number: " + Number.MIN_VALUE);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td)NEGATIVE_INFINITY
Table Row (tr) Table Cell (td) DivSpecial value representing negative infinity; returned on overflow.
Table Row (tr) Table Cell (td)Sample Div Code Blockapplication.output("Negative infinity: " + Number.NEGATIVE_INFINITY);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td) DivSpecial "not a number" value.
Table Row (tr) Table Cell (td)Sample Div Code Blockapplication.output("NaN: " + Number.NaN);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td)POSITIVE_INFINITY
Table Row (tr) Table Cell (td) DivSpecial value representing infinity; returned on overflow.
Table Row (tr) Table Cell (td)Sample Div Code Blockapplication.output("Positive infinity: " + Number.POSITIVE_INFINITY);
Table Row (tr) Table Cell (td)
...
id function class servoy sDetail
...
Table Row (tr) Table Head (th)Method Details
...
Table Row (tr) Table Cell (td)toExponential
Table Row (tr) Table Cell (td) DivReturns a string representing the number in exponential notation.
...
...
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow MIN_VALUE name MIN_VALUE des sIndent The smallest representable number. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow NEGATIVE_INFINITY name NEGATIVE_INFINITY des sIndent Special value representing negative infinity; returned on overflow. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow NaN name NaN des sIndent Special "not a number" value. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow POSITIVE_INFINITY name POSITIVE_INFINITY des sIndent Special value representing infinity; returned on overflow. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow
function servoy sDetail 2 100% height:30px 2 Methods Details toExponential name toExponential() des sIndent Returns a string representing the number in exponential notation. ret Returns
sIndent A string representing the number in exponential notation. clients
Table Row (tr) Table Cell (td)Sample Div Code Blockvar n = 123.45678;
application.output(n.toExponential(3));
...
...
Table Row (tr) Table Cell (td)toExponential
Table Row (tr) Table Cell (td) DivReturns a string representing the number in exponential notation.
...
...
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow toExponential name toExponential(fractionDigits) des sIndent Returns a string representing the number in exponential notation. prs Parameters
sIndent fractionDigits An integer specifying the number of digits after the decimal point. Defaults to as many digits as necessary to specify the number.
...
...
...
...
...
A string representing the number in exponential notation. clients
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam
...
...
Table Row (tr) Table Cell (td) DivReturns a string representing the number in fixed-point notation.
...
...
...
...
...
Code Blockvar n = 123.45678;
application.output(n.toExponential(3));
sIdent javascript lastDetailRow toFixed name toFixed() des sIndent Returns a string representing the number in fixed-point notation. ret Returns
sIndent A string representing the number in fixed-point notation. clients
Table Row (tr) Table Cell (td)Sample Div Code Blockvar n = 123.45678;
application.output(n.toFixed(3));
...
...
Table Row (tr) Table Cell (td) DivReturns a string representing the number in fixed-point notation.
...
...
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow toFixed name toFixed(digits) des sIndent Returns a string representing the number in fixed-point notation. prs Parameters
sIndent digits The number of digits to appear after the decimal point. Defaults to 0.
...
...
...
...
...
A string representing the number in fixed-point notation. clients
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam
...
...
Table Row (tr) Table Cell (td)toLocaleString
Table Row (tr) Table Cell (td) DivConverts the number into a string which is suitable for presentation in the given locale.
...
...
...
...
...
Code Blockvar n = 123.45678;
application.output(n.toFixed(3));
...
sIdent javascript lastDetailRow toLocaleString name toLocaleString() des sIndent Converts the number into a string which is suitable for presentation in the given locale. ret Returns
sIndent A string representing the number in the current locale. clients
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam
...
Table Row (tr) Table Cell (td) DivReturns a string representing the number to a specified precision in fixed-point or exponential notation.
...
...
...
...
...
Code Blockvar n = 1000000;
application.output(n.toLocaleString());
...
...
Table Row (tr) Table Cell (td)toPrecision
...
sIdent javascript lastDetailRow toPrecision name toPrecision() des sIndent Returns a string representing the number to a specified precision in fixed-point or exponential notation. ret Returns
sIndent A string representing the number to a specified precision in fixed-point or exponential notation. clients
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam
...
Table Row (tr) Table Cell (td)toPrecision
Table Row (tr) Table Cell (td) DivReturns a string representing the number to a specified precision in fixed-point or exponential notation.
...
...
...
...
...
Code Blockvar n = 123.45678;
application.output(n.toPrecision(5));
...
...
...
sIdent javascript lastDetailRow toPrecision name toPrecision(precision) des sIndent Returns a string representing the number to a specified precision in fixed-point or exponential notation. prs Parameters
sIndent precision An integer specifying the number of significant digits.
...
...
...
...
...
A string representing the number to a specified precision in fixed-point or exponential notation. clients
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam
...
...
Table Row (tr) Table Cell (td) DivReturns a string representing the specified Number object.
...
...
...
...
...
Code Blockvar n = 123.45678;
application.output(n.toPrecision(5));
...
...
Table Row (tr) Table Cell (td) DivReturns a string representing the specified Number object.
...
...
...
sIdent javascript lastDetailRow toString name toString() des sIndent Returns a string representing the specified Number object. ret Returns
sIndent A string representing the specified Number object. clients
Table Row (tr) Table Cell (td)Sample Div Code Blockvar n = 7;
application.output(n.toString()); //displays "7"
application.output(n.toString(2)); //displays "111"
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow toString name toString(radix) des sIndent Returns a string representing the specified Number object. prs Parameters
sIndent radix An integer between 2 and 36 specifying the base to use for representing numeric values
...
...
...
...
A string representing the specified Number object. clients
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam
...
...
...
...
Code Blockvar n = 7;
application.output(n.toString()); //displays "7"
application.output(n.toString(2)); //displays "111"
sIdent javascript lastDetailRow