Web host reseller - The three functions are almost identical. They all
The three functions are almost identical. They all take identical arguments. The only difference is that FormatCurrency returns a formatted number beginning with the currency symbol specified in the computer’s regional settings, FormatNumber returns just the formatted number, and FormatPercent returns the formatted number followed by a percentage sign (%). Rules at a Glance If NumDigitsAfterDecimal is not specified, its default value is -1, which means that the value in the computer’s regional settings is used. The TriState constant values are True, False, and UseDefault. When optional arguments are omitted, their values are defined by the computer’s regional settings. In the FormatCurrency function, the position of the currency symbol in relation to the currency value is defined by the computer’s regional settings. Programming Tips and Gotchas These three functions first appeared in VBScript Version 2 as “light” alternatives to the Format function, which had originally been left out of VBScript due to its size. They are quick and easy to use and make your code more self-documenting; you can instantly see what format is being applied to a number without having to decipher the format string. See Also Format Function, FormatDateTime Function FormatDateTime Function Class Microsoft.VisualBasic.Strings Syntax FormatDateTime(expression[,dateformat]) expression Use: Required Data Type: Date Date variable or literal date dateformat Use: Optional Data Type: DateFormat enum Defines the format of the date to return
Hint: If you are looking for high quality webhost to host and run your jsp application check Vision web hosting jsp services