Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{hidden} DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden} {sub-section:description|text=}{sub-section}\\ {table:class=servoy sReturnTypes}{tr:style=height: 30px;}{th}Return Types{th}{tr}{tr}{td}{span:class=sWordList}[Array]{span}{span:class=sWordList}[Boolean]{span}{span:class=sWordList}[Date]{span}{span:class=sWordList}[Math]{span}{span:class=sWordList}[Namespace]{span}{span:class=sWordList}[Number]{span}{span:class=sWordList}[QName]{span}{span:class=sWordList}[RegExp]{span}{span:class=sWordList}[Special Operators]{span}{span:class=sWordList}[Statements]{span}{span:class=sWordList}[String]{span}{span:class=sWordList}[XML]{span}{span:class=sWordList}[XMLList]{span}{td}{tr}{table}\\ {table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}void{td}{td}[#isNaN]\() The NaN property indicates that a value is 'Not a Number'.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#parseFloat]\() Makes a floating point number from the starting numbers in a given string.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#parseInt]\() Makes a integer from the starting numbers in a given string in the base specified.{td}{tr}{tbody}{table}\\ {table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=D252CAA2-8BFE-4B89-A587-6A5BEC51E736}{tr:id=name}{td}h6.isNaN{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}isNaN{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_des|text=|trigger=button}{sub-section}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_des|trigger=none|class=sIndent}
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryNumeric value representing infinity.Value representing Not-a-Number.The value undefined.

servoy sSummary12%30%58%height: 30px;3Methods SummaryDecodes a URI previously encoded with encodeURI or another similar routine.Decodes a URI component previously created by encodeURIComponent or by a similar routine.Encodes a URI by replacing certain characters with escape sequences.Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.Evaluates JavaScript code passed as a string.Returns true if the given number is a finite number.voidThe NaN property indicates that a value is 'Not a Number'.Returns true if the given name can be used as a valid name for an XML element or attribute.Makes a floating point number from the starting numbers in a given string.Makes a integer from the starting numbers in a given string in the base specified.Makes a integer from the starting numbers in a given string in the base specified.Returns the string representation behind a given object.

propertyservoy sDetail2100%height:30px2Property DetailsInfinityname

Infinity

dessIndent
Numeric value representing infinity.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowNaNname

NaN

dessIndent
Value representing Not-a-Number.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
undefinedname

undefined

dessIndent
The value undefined.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsdecodeURIname

decodeURI(encodedURI)

dessIndent
Decodes a URI previously encoded with encodeURI or another similar routine.
prs

Parameters

sIndentencodedURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowdecodeURIComponentname

decodeURIComponent(encodedURI)

dessIndent
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
prs

Parameters

sIndentencodedURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encodeURIname

encodeURI(URI)

dessIndent
Encodes a URI by replacing certain characters with escape sequences.
prs

Parameters

sIndentURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encodeURIComponentname

encodeURIComponent(URI)

dessIndent
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
prs

Parameters

sIndentURI ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
evalname

eval(expression)

dessIndent
Evaluates JavaScript code passed as a string. Returns the value returned by the evaluated code.
prs

Parameters

sIndentexpression ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isFinitename

isFinite(n)

dessIndent
Returns true if the given number is a finite number.
prs

Parameters

sIndentn ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
isNaNname

isNaN(value)

dessIndent
The NaN property indicates that a value is 'Not a Number'.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_ret|text=|trigger=button}{sub-section}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_see|text=|trigger=button}{sub-section}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_see|text=|trigger=button}{sub-section}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_sam|text=|trigger=button}{sub-section}{sub-section:D252CAA2-8BFE-4B89-A587-6A5BEC51E736_sam|class=sIndent|trigger=none}{code:language=javascript} isNaN( value ) {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4ABBDADC-12C5-4736-9924-FC4E5631ACCE}{tr:id=name}{td}h6.parseFloat{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}parseFloat{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_des|text=|trigger=button}{sub-section}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_des|trigger=none|class=sIndent}
prs

Parameters

sIndentvalue ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowisXMLNamename

isXMLName(name)

dessIndent
Returns true if the given name can be used as a valid name for an XML element or attribute.
prs

Parameters

sIndentname ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
parseFloatname

parseFloat(text)

dessIndent
Makes a floating point number from the starting numbers in a given string.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_ret|text=|trigger=button}{sub-section}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_see|text=|trigger=button}{sub-section}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_see|text=|trigger=button}{sub-section}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_sam|text=|trigger=button}{sub-section}{sub-section:4ABBDADC-12C5-4736-9924-FC4E5631ACCE_sam|class=sIndent|trigger=none}{code:language=javascript} parseFloat('string') {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=74F43BDE-8F68-41D3-AC1F-D502ACEBC00C}{tr:id=name}{td}h6.parseInt{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}parseInt{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_des|text=|trigger=button}{sub-section}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_des|trigger=none|class=sIndent}
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowparseIntname

parseInt(text)

dessIndent
Makes a integer from the starting numbers in a given string in the base specified.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
parseIntname

parseInt(text, radix)

dessIndent
Makes a integer from the starting numbers in a given string in the base specified.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_ret|text=|trigger=button}{sub-section}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_see|text=|trigger=button}{sub-section}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_see|text=|trigger=button}{sub-section}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_sam|text=|trigger=button}{sub-section}{sub-section:74F43BDE-8F68-41D3-AC1F-D502ACEBC00C_sam|class=sIndent|trigger=none}{code:language=javascript} parseInt( 'string' [, base] ) {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
prs

Parameters

sIndenttext ;radix ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowunevalname

uneval(obj)

dessIndent
Returns the string representation behind a given object.
prs

Parameters

sIndentobj ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow