Is there a display formatter that will output decimals as these string representations in C# without doing any rounding?
The decimal may have 2 decimal places, but if it has more precision it should be included in the resultant string and not rounded off.
Examples:
decimal  -> string
20       -> 20,00
20.00    -> 20,00
20.5     -> 20,50
20.5000  -> 20,50
20.125   -> 20,125
20.12500 -> 20,125
Thanks in advance