title: Python format function: 1 decimal place
body: <p>I have the following:</p>
  
  <pre><code>'{0:n}'.format(0/10.0)
  </code></pre>
  
  <p>which evaluates to </p>
  
  <pre><code>0
  </code></pre>
  
  <p>I want it to evaluate to </p>
  
  <pre><code>0.0
  </code></pre>
  
  <p>That is, there should always be 1 decimal place. What is the correct format for this?</p>
  
  <p>Thanks.</p>