count of pages for a pager
<p>I have X number of items and I want to count how many pages I'll need to page these items if I can put 5 items per page.</p>

<p>This is what I have:</p>

<pre><code>int TotalPages = (int)(Math.Ceiling(TheItemCount / 5));
</code></pre>

<p>The line is underlined in red with an error that's saying there's an </p>

<blockquote>
  <p>ambigious call between Math.Ceiling (double) and Math.Ceiling
  (decimal)</p>
</blockquote>

<p>I know this is supposed to be simple but I'm not getting the result I want. What do I need to change in my code to make it work?</p>

<p>Thanks.</p>
