title: Javascript function Number.parseLocale returns NaN when there is negative number
body: <p>I have following JS method which variable percentageValue returns correct if the number is positive number but if the number is negative it returns NaN. I don't know how to solve it.</p>
  
  <pre><code>    function Test() {
      debugger;
      var catLength= $("[id$=lblCat]").length;
      for (var i = 0; i &lt; catLength- 1; i++) {
          var categoryValue = Number.parseLocale($("[id$=" + i + "_lblCat]")[0].title);
          var percentageValue = Number.parseLocale(($("[id$=" + i + "_txtPercentage]")[0].value).replace("%", ""));
  
      }
  }
  </code></pre>