@@ -343,7 +343,7 @@
cash += goods[i].price * goods[i].num;
}
$(".totalQuantity").html(num);
- $(".totalMoney").html(cash);
+ $(".totalMoney").html(cash.toFixed(2));
function setFactory()
@@ -264,7 +264,7 @@
cash += goods[i].p_price * goods[i].num;