title: Ext.util.Format.number - how do I preserve decimal places when adding thousand separator?
body: <p>I've got a bunch of numbers in different units of measure requiring different decimal precision. They all are rendered in the same component. In this component - I need to format numbers to include a thousand separator. </p>
  
  <p>This is how I'm currently doing it</p>
  
  <pre><code>Ext.util.Format.number(floatValue.toFixed(this.euStore.getById(euId).get('DecimalPrecision')), '0,000.00');
  </code></pre>
  
  <p>Where <code>this.euStore.getById(euId).get('DecimalPrecision')</code> returns anywhere from 0 - 4.</p>
  
  <p>I need to preserve these decimal places when <code>Ext.util.Format.number</code> is called to add in the thousand seperator, because it always gets 2 decimal places using the current format, <code>'0,000.00'</code></p>
  
  <p>Is there a way to do this with the built in number formatter or do I need to write my own function? Thanks!</p>