SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1187 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

99
Dollar Format $2,300.99
Local Format $2,300.99
International Format USD2,300.00
Number Default 2,300.99
2 Decimal Places 23.99
Rounded to Integer 23.51 = $24
() If Negative (23.99)
Minus If Negative ??“23.99
Do Not Group Digits 2300.99
AlphaCase Upper Mixed Case = MIXED CASE
Lower Mixed Case = mixed case
Trim Left ??? Widgets ??? = ???Widgets ???
Right ??? Widgets ??? = ??? Widgets???
Both ??? Widgets ??? = ???Widgets???
StripCR ???The
End??? = ???The End???
continued
677
Making Data Dynamic 20
TABLE 20-2 (continued)
Format Option Example
Math Abs Returns the absolute value
Atn Returns the arctangent
Ceiling Returns the next highest integer
Cos Returns the cosine
DecrementValue Lowers the number by 1
Exp Returns the exponent
Fix Rounds the number toward zero
IncrementValue Increases the number by 1
Int Returns an integer
Log Returns the natural logarithm
Log10 Returns the logarithm to base 10
Randomize Seeds the random number generator
Rounds to the closest integer
Round Returns 1 for positive numbers, ??“1 for
negative numbers
Sgn Returns the sine
Sin
Sqr Returns the square root
Tan Returns the tangent
Encode??”URLEncoded N/A www.idest.com/Party Time =
Format www.idest.com/Party%20Time
Encode??” N/A ???The Answer??™ = ???The Answer??™
PreserveSingleQuotes
String??”Reverse N/A ???The Answer??™ = ???rewsnA ehT??™
TABLE 20-3
JSP Data Formats
Format Option Example
Date/Time General Format 31-Mar-01
Long Format Saturday, March 31, 2001
Short Format 3/31/01
Weekday, Month Date, Year Saturday, March 31, 2001
Date Month Year 31 March 2001
Month Date, Year March 31, 2001
YY-M-DD 01-3-31
YY-MM-DD 01-03-31
M/D/YY 3/31/01
DD/MM/YY 31/03/01
678
Incorporating Dynamic Data Part IV
Format Option Example
Currency Default $2,300.


Pages:
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199