title: Format of float to QString conversion
body: <p>I would like to convert a float to a QString but replacing the <code>.</code> by a <code>,</code>.</p>
  
  <p>For example, I want the float <code>12.95</code> to be converted to a QString that looks like <code>12,95</code>.</p>
  
  <p>I guess I can do it with something like:</p>
  
  <pre><code>QString().sprintf("%something", myFloat);
  </code></pre>
  
  <p>But how should I write instead of <code>%something</code>?</p>
  
  <p>Maybe I can do it like this: <code>QString::number(myFloat, 'f').replace(".", ",")</code> but it is not very pretty...</p>