title: jQuery - 3 Decimal format from right for input number
body: <p>I Want to separate numbers (3 by 3 Decimal from right). if our number is:</p>
  
  <p><strong>1000</strong></p>
  
  <p>i want it change to:</p>
  
  <p><strong>1.000</strong></p>
  
  <p>and if:</p>
  
  <p><strong>10000000</strong></p>
  
  <p>change to:</p>
  
  <p><strong>10.000.000</strong></p>
  
  <pre><code> &lt;input class="myInput" style="width: 100px!important" type="number"  step="5000" value="0" min="0" max="99999999" /&gt;
  
  $('.myInput').on('blur', function() {
      var amount = $('.myInput').val().replace(/^\s+|\s+$/g, '');
      if( ($('.myInput').val() != '') &amp;&amp; (!amount.match(/^$/) )){
          $('.myInput').val( parseInt(amount).toFixed(3));
      }
  });
  </code></pre>
  
  <p><strong><a href="http://jsfiddle.net/R8ZA6/4/" rel="nofollow">JSFiddle</a></strong></p>