Converts numeric characters that occur at the beginning of a string to a number. If conversion fails, returns zero.
val(String)
returns numeric
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| String | string | Yes | A string or a variable that contains one |
val("120test12sstring");
val("string98");