Value (Currency) in ASP

Results 1 to 2 of 2

Thread: Value (Currency) in ASP

  1. #1
    Rob vd Eijnden Guest

    Default Value (Currency) in ASP

    When i read from my database while using ASP where i use currency values, i always get the wrong number.<BR>When my database says: $50.00 my ASP source will say $50<BR>Can anyone tell me how to get the decimals, the .00 behind the value?<BR><BR>Thanks in advance.<BR>Rob

  2. #2
    Join Date
    Dec 1969

    Default RE: Value (Currency) in ASP

    Look in the reference manual for the documentation of the FormatCurrency function.<BR><BR>If you do nothing special, just call <BR> &nbsp; &nbsp; Response.Write FormatCurrency( RS("someDBfield" ) )<BR>you will get the default currency format for your current locale.<BR><BR>But there are other options.<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