修改科学计算字符类型

This commit is contained in:
2024-05-08 11:59:47 +08:00
parent 39a71a53e4
commit 3c22c9444b
6 changed files with 55 additions and 48 deletions
+5 -5
View File
@@ -1098,11 +1098,11 @@ class OrderService extends BaseService
if ($order['order_type'] == 1){
$expected_amount_total = bcmul(
bcsub(
$order['amount_total'],
$refund_total,
(string)$order['amount_total'],
(string)$refund_total,
3
),
0.75,
"0.75",
2
);
}
@@ -1120,10 +1120,10 @@ class OrderService extends BaseService
(string)$order_service_package_detail['single_inquiry_price'],
3
),
$refund_total,
(string)$refund_total,
3
),
0.75,
"0.75",
2
);
}