Solved

Formatcurrency Function  is rounding up numbers

Posted on 2001-09-16
1
287 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 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