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(any 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 any  Yes A string or a variable that contains one