Expressions

Expressions

ColdFusion expressions consist of operands and operators. Operands are constants and variables, such as "Hello" or MyVariable. Operators, such as the string concatenation operator (&) or the division operator (\/) are the verbs that act on the operands. ColdFusion functions also act as operators. 
The simplest expression consists of a single operand with no operators. Complex expressions consist of multiple operands and operators. For example, the following statements are all ColdFusion expressions:

12 
MyVariable 
(1 + 1)/2 
"father" & "Mother" 
Form.divisor/Form.dividend 
Round(3.14159)

For detailed information on using variables, see Using ColdFusion Variables. For detailed information on expressions and operators, see Using Expressions and Number Signs.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online