Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function VAL

Converts numeric characters that occur at the beginning of a
string to a number. If conversion fails, returns zero.

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