title: Printing float up to six decimal places
body: <p>I have an issue in printing a float number.
  I tried:</p>
  
  <pre><code>a = 2
  c = 4
  print (str(c/a).format(1.6))
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>2.0
  </code></pre>
  
  <p>Required Output:</p>
  
  <pre><code>2.000000
  </code></pre>
  
  <p>How can I print up to 6 decimal places?</p>