title: Rounding a variable to two decimal places C#
body: <p>I am interested in how to round variables to two decimal places. In the example below, the bonus is usually a number with four decimal places. Is there any way to ensure the pay variable is always rounded to two decimal places?</p>
  
  <pre><code>  pay = 200 + bonus;
    Console.WriteLine(pay);
  </code></pre>