Number
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.
Bash
toNumber(text) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example return: 3.14 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Any given text representing a numerical value. |
Output
This function returns a number
(books) Use cases and examples
| Use case |
|---|
| No content found. |