Newbie Q: format$ ?

Results 1 to 2 of 2

Thread: Newbie Q: format$ ?

  1. #1
    Join Date
    Dec 1969

    Default Newbie Q: format$ ?

    I&#039m a beginner. How can you format values in ASP VB? In standard VB there is the Format$ command, to display a certain number of decimals, date format, etc. How can you do that in server-side code?

  2. #2
    Join Date
    Dec 1969

    Default RE: Newbie Q: format$ ?

    For Dates you can use FormatDateTime(variablename, x). Where x is a numeric Format identifies ( has mor on this).<BR><BR>For money, you can use FormatCurrency(variablename).<BR><BR>And for numbers, FormatNumber(variablename, x). Where x is the number of decimals to display.<BR><BR>HTH<BR><BR>Jerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts