I'm trying to show two decimal places and using the limited format specifiers it's not working. I'm trying this loop and I get the same result: 22.5034567...
double myDouble = 22.503456785478; string[] formats = new string[]{"","f2","g2","n2", "d2", "0.00","N2"}; for (int i = 0;i<formats.Length;i++) { LCD.Clear(); LCD.Write(formats[i] + ": " + myDouble.ToString()); //22.50 expected result Thread.Sleep(1000); }