订单总价 - 邮费。当订单总价=邮费时报错。除数不能为0

发布于 2022-02-17 17:46:30
//商品优惠总金额
                BigDecimal commodityDiscountAmount = NumberUtil.mul(NumberUtil.div(totalAmountOfGoods, NumberUtil.sub(yxStoreOrder.getTotalPrice(), yxStoreOrder.getPayPostage())), yxStoreOrder.getCouponPrice());

订单总价 - 邮费。当订单总价=邮费时报错。除数不能为0。报by zero

查看更多

关注者
0
被浏览
765
0 个回答
暂无答案,快来添加答案吧

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览