title: toLocaleString() not work on input change
body: <p>I want to add thousand separator for numbers as user is typing in. this is my code : </p>
  
  <pre><code>    $('.rls').on('input',function (e) {
         $(this).val(parseFloat($(this).val()).toLocaleString());
      });
  </code></pre>
  
  <p>It works correctly but when I enter dot character It doesnt add dot to input .what is the problem?  </p>