title: jQuery Replace dot to comma and round it
body: <pre><code>var calcTotalprice = function () {
      var price1 = parseFloat($('#price1').html());
      var price2 = parseFloat($('#price2').html());
      overall = (price1+price2);
      $('#total-amount').html(overall);
  }
  
  var price1 = 1.99;
  var price2 = 5.47;
  </code></pre>
  
  <p>How to add function to change dot to comma in price number and round it to two decimal</p>