title: Evenly divide a dollar amount (decimal) by an integer
body: <p>I need to write an accounting routine for a program I am building that will give me an even division of a decimal by an integer. So that for example:</p>
  
  <pre><code>$143.13 / 5 =
  
  28.62
  28.62
  28.63
  28.63
  28.63
  </code></pre>
  
  <p>I have seen the article here: <a href="https://stackoverflow.com/questions/577427/evenly-divide-in-c">Evenly divide in c#</a>, but it seems like it only works for integer divisions. Any idea of an elegant solution to this problem?</p>