RE: record set question

Results 1 to 2 of 2

Thread: RE: record set question

  1. #1
    Newt Guest

    Default RE: record set question

    Kevin helped me out with making sure my record set data is a numeric so I can do perform math operations on them.<BR><BR>My new question is how do I keep from dropping zeros off the end of numbers? The results are a dollar value and I want 19.10 to display that way instead of 19.1.<BR><BR>~newton~

  2. #2
    David Mann Guest

    Default RE: record set question

    If you just want to DISPLAY the data correctly, then use FormatCurrency.<BR><BR><BR>&#060;%<BR>Dim numVar<BR>numVar = 19.10<BR>Response.Write(FormatCurrency(numVar))<BR >%&#062;<BR><BR>That should do it. I hope this helps!<BR><BR>Sincerely,<BR> --David<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