c# round decimal on class code example Example: c# round to 2 decimal places decimal b = 1.995555M; Math.Round(b, 2); //returns 2.00