title: Is there a native way to convert a string from any locale to a number?
body: <p>I know that I can convert a number to a string in a specified locale like so</p>
  
  <pre><code>(1.2).toLocaleString("de-DE") //-&gt; "1,2"
  </code></pre>
  
  <p>What I don't know, or can't seem to find, is why there isn't a way to go in reverse. For example:</p>
  
  <pre><code>("1,2").fromLocaleString("de-DE").toFloat()
  </code></pre>
  
  <p>or</p>
  
  <pre><code>parseFloat("1,2", "de-DE")
  </code></pre>
  
  <p>The only solutions I have found to parse a number string from a different locale have been 3rd party plugins. If the browser can convert in one direction, is there a way for it to convert in the other direction?</p>