This function converts a text representing a number to an integer. You can additionally define the radix (base) to be used for the conversion.
toInteger(text, radix) #Output: Number
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 13 Next »
This function converts a text representing a number to an integer. You can additionally define the radix (base) to be used for the conversion.
toInteger(text, radix) #Output: Number
Parser expression | Description |
---|---|
toInteger("ff", 16) #Base 16 | This example returns the number: 255 |
toInteger("11111111", 2) #Binary | This example returns the number: 252 |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
text | TEXT | Any given text returning a number. |
radix | TEXT | The radix to be applied for the conversion. |
This function returns a NUMBER
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG