title: Convert string to number in money format JavaScript
body: <p>I have the string "722,311.75" and I want to convert it in number 722,311.75 (money format). The following code doesn't work.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var str = "722,311.75";
  var nr = parseFloat(str, 10).toFixed(2);
  console.log(nr); // Returns 722.00</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any Idea of how I could do this?</p>