SHow 2 decimals

Results 1 to 2 of 2

Thread: SHow 2 decimals

  1. #1
    Join Date
    Dec 1969

    Default SHow 2 decimals

    I'm using the CDbl to convert a test number to a number. It contains decimals. I've run into a bit of a problem. I cannot show 2 decimals in my program, if the decimals are 00's it is not displayed e.g $120.00 shows $120 OR $120.50 shows $120.5. Any ideas? thanks

  2. #2
    Join Date
    Dec 1969

    Default Look in the left panel of THIS page...

    Find "VBScript Reference" and click on it.<BR><BR>In the list of topics that appears, click on "Functions".<BR><BR>In the list of functions that appears, find all the ones that start with "Format..." (e.g., FormatDateTime, FormatNumber, etc.).<BR><BR>Read some of them.<BR><BR>

Posting Permissions

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