title: Basic python arithmetic - division
body: <p>I have two variables : count, which is a number of my filtered objects, and constant value per_page. I want to divide count by per_page and get integer value but I no matter what I try - I'm getting 0 or 0.0 :</p>
  
  <pre><code>&gt;&gt;&gt; count = friends.count()
  &gt;&gt;&gt; print count
  1
  &gt;&gt;&gt; per_page = 2
  &gt;&gt;&gt; print per_page
  2
  &gt;&gt;&gt; pages = math.ceil(count/per_pages)
  &gt;&gt;&gt; print pages
  0.0
  &gt;&gt;&gt; pages = float(count/per_pages)
  &gt;&gt;&gt; print pages
  0.0
  </code></pre>
  
  <p>What am I doing wrong, and why math.ceil gives float number instead of int ?</p>