00
Rounded to Integer 23.51 = 24
Leading 0 If Fractional 0.99
No Leading 0 If Fractional .99
() If Negative (23)
Minus If Negative ??“23
Group Digits 2,300
Do Not Group Digits 2300
Percent Default 2,300%
2 Decimal Places 23.00%
Rounded to Integer 23.51% = 24%
Leading 0 If Fractional 0.99%
No Leading 0 If Fractional .99%
() If Negative (23%)
Minus If Negative ??“23%
Group Digits 2,300%
Do Not Group Digits 2300%
AlphaCase Upper Mixed Case = MIXED CASE
Lower Mixed Case = mixed case
Trim Left ??? Widgets ??? = ???Widgets ???
Right ??? Widgets ??? = ??? Widgets???
Both ??? Widgets ??? = ???Widgets???
Absolute Value N/A +23 or ??“23 = 23
Round Integer N/A 23.51 = 24
Encode??”Server. N/A I??™m
bold =
HTMLEncode I??™m <b>bold</b>
Encode??”Server. N/A www.idest.com/Party Time =
URLEncode www.idest.com/Party%20Time
Path??”Server.MapPath N/A Server.MapPath(/myDocs) =
D:/HTDOCS/lowery/myDocs
676
Incorporating Dynamic Data Part IV
TABLE 20-2
ColdFusion Data Formats
Format Option Example
Date/Time General Date Format 31-Mar-01
Weekday, Month Date, Year Saturday, March 31, 2001
Date Month Year 31 March 2001
Month Date, Year March 31, 2001
DD-MM-YY 31-03-01
YY-M-DD 01-3-31
YY-MM-DD 01-03-31
DD-MM-YYYY 31-03-2001
M/D/YY 3/31/01
DD/MM/YY 31/03/01
YY/MM/DD 01/03/31
General Time Format 9:15 PM
h:MM:SS AM/PM 9:15:00 PM
HH:MM:SS 21:15:00
hh:MM:SS A/P 09:15:00 P
HH:MM 21:15
Currency General Format 2,300.
Pages:
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198