Property | Type | Description | |
---|---|---|---|
undefined | Object |
Method | Description | |
---|---|---|
decodeURI ( String uri ) : String |
Decodes an encoded URI into a string.
|
|
encodeURI ( String uri ) : String |
Encodes a string into a valid URI (Uniform Resource Identifier).
|
|
isFinite ( Number num ) : Boolean |
Returns true if the value is a finite number, or false if the value is Infinity or -Infinity.
|
|
isNaN ( Number num ) : Boolean |
Returns true if the value is NaN(not a number).
|
|
parseFloat ( String str ) : Number |
Converts a string to a floating-point number.
|
|
parseInt ( String str ) : Number |
Converts a string to an integer.
|
|
parseInt ( String str, uint radix ) : Number |
Converts a string to an integer.
|
Method | Description | |
---|---|---|
validForNum ( char c, uint radix, bool flt ) : bool | ||
validForNum ( string str, int index, uint radix, bool flt ) : bool |
public static decodeURI ( String uri ) : String | ||
uri | String | A string encoded with the encodeURI function. |
return | String |
public static encodeURI ( String uri ) : String | ||
uri | String | A string representing a complete URI. |
return | String |
public static isFinite ( Number num ) : Boolean | ||
num | Number | A number to evaluate as finite or infinite. |
return | Boolean |
public static isNaN ( Number num ) : Boolean | ||
num | Number | A numeric value or mathematical expression to evaluate. |
return | Boolean |
public static parseFloat ( String str ) : Number | ||
str | String | The string to read and convert to a floating-point number. |
return | Number |
public static parseInt ( String str ) : Number | ||
str | String | A string to convert to an integer. |
return | Number |
public static parseInt ( String str, uint radix ) : Number | ||
str | String | A string to convert to an integer. |
radix | uint | An integer representing the radix (base) of the number to parse. Legal values are from 2 to 36. |
return | Number |