When displaying the value of a decimal currently with .ToString(), it\'s accurate to like 15 decimal places, and since I\'m using it to represent dollars and ce
.ToString()
decimalVar.ToString("F");
This will:
23.456
23.46
23
23.00
12.5
12.50
Ideal for displaying currency.
Check out the documentation on ToString("F") (thanks to Jon Schneider).