title: Python small decimals automatically round to 0
body: <p>I have a simple problem:</p>
  
  <pre><code>print 1 / 100
  </code></pre>
  
  <p>returns</p>
  
  <pre><code>0
  </code></pre>
  
  <p>and </p>
  
  <pre><code>print float(1 / 100)
  </code></pre>
  
  <p>returns </p>
  
  <pre><code>0.0
  </code></pre>
  
  <p>Why does this happen? Shouldn't it return 0.01? Thank you for any help.</p>