I did get this working, thanks for your advice. Here's how I did it in the end:
Code:decimal interestConversion = interestRateMonthly * 12; txtInterestRate.Text = string.Format("{0:P2}", interestConversion);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Formatting a percentageThreaded View
|
Click Here to Expand Forum to Full Width |