title: Midpointrounding
body: <p>I'm trying to round off the following values, but I don't know what's wrong. </p>
  
  <pre><code>NewValue -=(System.Math.Round(Global.WorkData.ValueOld - System.Math.Round (Global.WorkData.ValueOld * 20, 0) / 20, 2 ));
  </code></pre>
  
  <p>And this is what I did:</p>
  
  <pre><code>NewValue -=(System.Math.Round(Global.WorkData.ValueOld, 2, MidpointRounding.AwayFromZero - System.Math.Round(Global.WorkData.ValueOld * 20, 2,MidpointRounding.AwayFromZero) / 20, 2 ));
  </code></pre>
  
  <p>Could you please tell me what's wrong in my code? why I can't compile it? 
  Thanks</p>