I am seeing differences in the result when formatting numeric values using ToString("F2")
.
0.125m.ToString("F2", CultureInfo.InvariantCulture); // 0.13
0.125.ToString("F2", CultureInfo.InvariantCulture); // 0.12
Why are these values rounded differently?
.NET Fiddle version of the code here.