Possible Duplicate:
Math.Round not keeping the trailing zero
How to round double values but keep trailing zeros
I have a decimal that I want to round to 2 dp. So, I have used Math.Round(). When I have a number like this
23.126
I get the format that I want
23.13
But when I have something like this
23
I get
23
What I'd like is to always get 2 dp. So, in the previous example I'd like
23.00
If I have
23.1
I'd like
23.10
Any idea how I might do this?