From c4c5e2d9f69fb9f999fdf4d44501d073ab2a4d3e Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Mon, 18 Sep 2023 16:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=BD=BF=E7=94=A8=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/logic/Zone.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/logic/Zone.php b/app/logic/Zone.php index 976a03d..44610ee 100644 --- a/app/logic/Zone.php +++ b/app/logic/Zone.php @@ -177,7 +177,7 @@ class Zone foreach ($value as $k => $v) { - $data[$key][$k]['amount'] = rtrim($v['amount'],'.00'); + #$data[$key][$k]['amount'] = rtrim($v['amount'],'.00'); unset($data[$key][$k]['id']); } } @@ -234,7 +234,7 @@ class Zone break; } } - $amount = rtrim($selectedPattern['amount'],'.00'); + $amount = round($selectedPattern['amount']); $pinyin = PinyinNumber::getPinyin(100000,true); $data[$i][] = [ 'amount' => $amount,