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;
如何添加功能以将价格数字中的点更改为逗号并将其四舍五入到小数点后两位