title: jQuery - Round to 2 decimal places and calculate with that number
body: <p>How to round the tax and brutto values to 2 decimal places...</p>
  
  <p>I have tried to use .toFixed(2) but that returns a string and then i can't calculate with it anymore.</p>
  
  <p>If someone could update the fiddle and make it work please?</p>
  
  <p>And try to input number 23 </p>
  
  <p><a href="https://jsfiddle.net/ze5tsgy9/9/" rel="nofollow noreferrer">DEMO Fiddle</a></p>
  
  <pre><code>// calculate brutto and tax
  $(document).on('keyup paste', '#netto', function () {
  
    var netto = $("#netto").val();
    $("#brutto").val(netto * 1.19).toFixed(2);
    var brutto = $("#brutto").val();
    $("#tax").val(brutto - netto);
  
  });
  </code></pre>