Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Formatcurrency Function  is rounding up numbers

Posted on 2001-09-16
1
Medium Priority
?
302 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 80 total points
ID: 6486278
<%=Formatcurrency (rs("The_Value"),2)%>

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

972 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