Converts numeric characters that occur at the beginning of a
string to a number. If conversion fails, returns zero.
Lucee Function Reference
Function VAL
Example
val(string value):number
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
value | string | Yes | A string or a variable that contains one |