STRINGTONUMERIC function

Synopsis
This function converts the specified string to its numeric value. This function will throw an error if the string cannot be converted to a numeric value.
Variations
STRINGTONUMERIC(String)
Converts the specified string to its numeric value.
Parameters
String

Specifies the string to be read.

Supported types: String.
Returns
Returned types: Numeric.
Examples
1.

The following example returns 100.

{STRINGTONUMERIC("100")}
2.

The following example returns 1.5.

{STRINGTONUMERIC("1.5")}
3.

The following example returns an evaluation error.

{STRINGTONUMERIC("1,5")}