This function converts a text representing a numerical value to a number.

This function expects a decimal representation of a number. In case it is not possible to parse the text to a number and null is returned.


Syntax
toNumber(text) #Output: Number
Examples
Parser expressionDescription
 %{toNumber("3.14")}

This example return:

3.14

Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any given text representing a numerical value.
Output

This function returns a NUMBER


Use cases and examples