Gmail webspace - Returns: 6 yy Element: Year Display as: A

Returns: 6 yy Element: Year Display as: A 2-digit number (00 - 99) Example: Format(”01/06/98″, “yy”) Returns: 98 yyyy Element: Year Display as: A 4-digit number (100 - 9999) Example: Format(”01/06/98″, “yyyy”) Returns: 1998 Characters used to create user-defined number formats are as follows: (0 ) Description: Digit placeholder. If expression contains a digit in the appropriate position, the digit is displayed; otherwise, a 0 will be displayed. The format definition dictates the number of digits after the decimal point, forcing the number held within an expression to be rounded to the given number of decimal places. It does not, however, affect the number of digits shown to the left of the decimal point. Example #1: Format(23.675, “00.0000″) returns 23.6750 Example #2: Format(23.675, “00.00″) returns23.68 Example #3: Format(2658, “00000″) returns 02658 Example #4: Format(2658, “00.00″) returns 2658.00 (# ) Description: Digit placeholder. If expression contains a digit in the appropriate position, the digit is displayed; otherwise, nothing will be displayed. Example #1: Format(23.675, “##.##”) returns 23.68 Example #2: Format(23.675, “##.####”) returns 23.675 Example #3: Format(12345.25, “#,###.##”) returns 12,345.25 (. )

Note: If you are looking for good and affordable webspace to host and run your servlet application check Virtualwebstudio servlet hosting services

Comments are closed.