Solved

Formatcurrency Function  is rounding up numbers

Posted on 2001-09-16
1
292 Views
Last Modified: 2008-02-26
<%=Formatcurrency (rs("The_Value"))%>

I use format currency function to write out my dollar amount. This function is rounding up numbers
E.G
$234.49 =$234.5
How do I prevent this from happening?
Thanks

0
Comment
Question by:iyiola
1 Comment
 
LVL 11

Accepted Solution

by:
thunderchicken earned 20 total points
ID: 6486278
<%=Formatcurrency (rs("The_Value"),2)%>

the 2 are the number of digits after the decimal.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp syntax 3 66
SQL to update characters in table column 6 157
msxml3.dll error '80072efd' A connection with the server could be not established 8 52
edit .asp files 5 43
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question