I am working on a C# windows application. I have a label on my form that I want to display a calculation. Here is my code:
this.lblPercent.Text = (Convert.ToString(totalPercent));
I have the variable totalPercent defined as a double, how do I round this number to 2 decimal places?
When I run my program, 86.8245614 is being displayed in my application and I want it to display 86.82.
Susan