Qt Why use QString::number() over QLocale().toString()?
<p>The application I am working on will be launched in many countries and needs to support their language. I've been going back through my code and replacing every instance of:</p>

<p><code>QString::number()</code> and <code>QString().toDouble()</code></p>

<p>with </p>

<p><code>QLocale().toString()</code> and <code>QLocale().toDouble()</code></p>

<p>I haven't found much online comparing the two classes, but I am interested in the repercussions of using the latter, and if there are none - why ever use the <code>QString</code> functions?</p>

<p>Essentially I just want to make sure I'm not harming my code before i make all these changes. Does anyone have any knowledge?</p>