C# Double – ToString() formatting with two decimal places but no rounding
How do I format a Double to a String in C# so as to have only two decimal places? If I use String.Format(“{0:0.00}%”, myDoubleValue) the number is then rounded and I want a simple truncate without any rounding. I also want the conversion to String to be culture sensitive. 15 Answers 15