C# display decimal without trailing zeros!How to display decimals in C# without trailing zeros? Well, there are a couple of options. First of all, how many decimals do you want to show? Do you want to show 0, 1, 2, etc. Well the easy way to do it is just like this! In the code