Recommended way to format numbers in a locale aware way?
<p>Lets assume we have one million.</p>

<p>In english it should be formatted as 1,000,000 in german it should be 1.000.000.</p>

<p>Thanks</p>
