572
CFML Language Reference
Elements of ColdFusion Expressions
The following objects can be used to build expressions:
Objects Used to Build ColdFusion Expressions
Type
Description
Integers
Numbers with no decimal point.
Real numbers
Numbers with a decimal part. Also known as floating point
numbers.
The range of ColdFusion numb
ers
is approximately ±10
300
,
or ±1 with 300 zeros after it. Most operations are accurate to
12 digits after the decimal point.
ColdFusion supports scientific notation.
Strings
Text values, which can be enclosed in single (’) or double (")
quotes.
Strings length is limited only by the amount of
available memory on the ColdFusion server.
To use a single quote inside a string that is single quoted,
escape the single quote by using two single quotes. You can
similarly escape a double quote inside a double quote-
enclosed string.
To insert a pound sign in a string, the pound sign must be
escaped, or doubled,
Boolean values
The result of a logical operation. Their value can be either
TRUE or FALSE. The numerical value of TRUE is 1. The
numerical value of FALSE is 0. When converted to a string,
TRUE becomes “YES” and FALSE becomes “NO”.
Date values
Date-and-time values identify a date and time in the range
100AD to 9999AD. If no time part is specified, time is set to
12:00am.
You can also directly enter a date object in any of the
following formats:
"October 30, 1999"
"Oct 30, 1999"
"Oct. 30, 1999"
"10/30/99"
"1999-30-10"
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...