No Format Function
Written by Eric Smith, Northstar Computer Systems LLC
If you're coming to ASP from VB, you are going to be distressed to find out that there is no Format function. Instead, VBScript supports a series of formatting functions designed to format a particular type of data:
FormatCurrency
FormatDateTime
FormatNumber
FormatPercent
These functions are pretty limited as to what they can do, so you may want to look into creating your own functions for doing formatting. These functions can be put in include files or in ActiveX DLLs and reused on many applications. For more details on using these functions, refer to the MSDN Library. There are a limited number of output formats from these functions, and the MSDN library provides the required constants to use them.
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 8/1/1999
|