title: QString:number with maximum 2 decimal places without trailing zero
body: <p>I have a division like this:</p>
  
  <pre><code>number / 1000.0
  </code></pre>
  
  <p>Sometimes it gives answers like 96.0000000001, sometimes the division works as expected.</p>
  
  <p>I want to limit my number to a maximum of two decimal places and without trailing zeros.</p>
  
  <p>If it's <strong>96.5500000001</strong> it should show <strong>96.55</strong>.</p>
  
  <p>If it's <strong>96.4000000001</strong> it should show <strong>96.4</strong></p>
  
  <p>It is possible to format a string in this way?</p>
  
  <p>I've checked the documentation and it provides 'f' argument for specifying the number of the decimal places but this way the trailing zeros remain.
  This is what I have tried:</p>
  
  <pre><code>QString::number(number / 1000.0, 'f', 2)
  </code></pre>
  
  <p>But this gives me for <strong>96.4000000001</strong> --> <strong>96.40</strong> instead of <strong>96.4</strong></p>
  
  <p>Any solution? How can I format in this way?</p>