首页
编程
java
php
前端
首页
编程
java
php
前端
为什么计算的金额不对呢总是先乘以在加减请问如何改正
this
.totalMoney=
this
.totalMoney+(element.price*element.count);
你是要先加后乘?
点击展开全文