title: JavaScript Number.toLocaleString() with 4 digits after separator
body: <p>Is there a way to get <code>number.toLocaleString()</code> with 4 digits after the comma?</p>
  
  <p>Example:</p>
  
  <pre><code>var number = 49.9712;
  document.getElementById('id').innerText = number.toLocaleString();
  </code></pre>
  
  <p>Result:
  <strong>49,9712</strong> </p>
  
  <p>But now it always returns number with 2 digits after comma:
  <strong>49,97</strong> </p>