title: How do I round down a decimal to two decimal places in .NET?
body: <p>Is there a <em>built-in</em> method for it? The .NET framework must have a method to do this!</p>
  <pre><code>private decimal RoundDownTo2DecimalPlaces(decimal input)
  {
     if (input &lt; 0)
     {
        throw new Exception(&quot;not tested with negative numbers&quot;);
     }
  
     // There must be a better way!
     return Math.Truncate(input * 100) / 100;
  }
  </code></pre>