round off string to 6 decimal places in C# code example Example: c# round to 2 decimal places decimal b = 1.995555M; Math.Round(b, 2); //returns 2.00