title: What is the JS equivalent to the PHP function number_format?
body: <p>PHP Function:</p>
  <pre><code>function formatNumberForDisplay($number, $decimal=0, $decimalSeperator='.', $numberSeperator=',')
  {
       return number_format($number, $decimal, $decimalSeperator, $numberSeperator);
  }
  </code></pre>
  <p>Can anybody suggest to me the equivalent functionality in jQuery/JavaScript?</p>