title: Force Python calculation in double
body: <p>I want to print a double in Python. But it doesn't work, and I don't know why.</p>
  
  <p>My code:</p>
  
  <pre><code>test = 3000 / (1500 * 2000)
  print str(test)
  </code></pre>
  
  <p>I always get a <code>0</code> and not a <code>0.001</code> even if I do the following:</p>
  
  <pre><code>test = 3000 / (1500 * 2000)
  print '%.10f' % test
  </code></pre>
  
  <p>I get a <code>0.000000000</code> and not <code>0.001</code>.</p>
  
  <p>How do I tell Python that this should be a double?</p>