Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need help formating dollar values.

Status
Not open for further replies.

RotorTorque

Programmer
Joined
Apr 29, 2007
Messages
100
Location
US
Hi all,
I have a VB2005 application in which I calculate multiple dollar values. To accurately calculate these values I round them using 3 decimal values like in the following example:
125.149
But I want to display the value using only 2 decimal places like this:
125.14

How can I accomplish this?

Thanks in advance,
RotorTorque :-)
 
Thanks SiriusBlackOp and ThatRickGuy for your quick responds.

TotorTorque :-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top