Re: Displaying data to 2 decimal points
From: Guy Hocking (guy_at_ANTIbradflack.SPAMcom)
Date: 03/07/04
- Next message: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Previous message: Oleg Ogurok: "output text file with ASP ? Extra headers"
- In reply to: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Next in thread: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Reply: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 7 Mar 2004 17:15:25 -0000
Hi,
Thanks for the response -
Any examples of the functions in my scenario?
Cheers
-- G www.bradflack.com Please remove ANTI and SPAM from my email address before sending me an email. "Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message news:O9rupTGBEHA.916@tk2msftngp13.phx.gbl... > Guy Hocking wrote: > > Hi there, > > > > I have an ASP/SQL 7 application that rips data from SQL Views onto an > > ASP page. > > I have a money column in a SQL table that contains money income > > values. > > > > When data is input to this field it needs to be displayed as money > > (to 2 decimal places - 10.00 or 7.60) > > However, this only seems to be occurring when the user puts in the > > extra 0, and if 7.6 is entered, it is still displayed as 7.6 > > > > I need all data to be displayed as money values (and it is selected > > as money in SQL), so is there any way (either in the table design, > > View design, or display on the ASP page) to get the data to 2 decimal > > places, no matter what? > > > > Thanks for you help, in advance > > Use one of these vbscript functions: > FormatCurrency > FormatNumber > > HTH, > Bob Barrows > > -- > Microsoft MVP - ASP/ASP.NET > Please reply to the newsgroup. This email account is my spam trap so I > don't check it very often. If you must reply off-line, then remove the > "NO SPAM" > >
- Next message: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Previous message: Oleg Ogurok: "output text file with ASP ? Extra headers"
- In reply to: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Next in thread: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Reply: Bob Barrows: "Re: Displaying data to 2 decimal points"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|