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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting a Result to Two Decimal Places

Status
Not open for further replies.

tekrobg

Programmer
Oct 12, 2004
42
US
I am new to programming. I declared a variable and then multiplied the number in a textbox by another decimal number. My result shows in a label, but to 6 decimal places. I just want it to output to 2 decimal places and rounding appropriately.

Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top