title: Convert float number properly?
body: <p>How can I convert this string to get <code>1000000</code>? The problem is I always get <code>10000</code>:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>console.log(parseFloat('10.000.000,00'.replace('.', ',').replace(/,(?=[^,]*$)/, '.')),'test');</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any suggestions?</p>