This function converts a text representing a number into an integerYou can additionally define the radix (base) to be used for the conversion.

 In case it is not possible to parse the text to an integer, null is returned.


toInteger(text, radix) #Output: Number



Parser expressionDescription


 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

ParameterInput (data type)Description
text

Any given text representing a number.
radix

The radix to be applied for the conversion.



This function returns a



Use cases and examples



Parser function cloud
Map(error)
NotesNot possible to cast string into number in other representation different than the decimal.






Status
Tech review

Style guide




Short description

Converts text into an integer.

Output

Available since


Label