From 6374978fb52d37850d6ae7e63cebb92c98646d2e Mon Sep 17 00:00:00 2001 From: songliang Date: Mon, 26 Jun 2023 15:50:18 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 87dad9b4..a31091f5 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -1574,7 +1574,7 @@ class ShopController extends BaseAuthedController $ret_price = phpcommon\bnDiv(phpcommon\bnMul($bn1, $bn2), pow(10, 8)); error_log('normalizeWeb3Price: ' . $ret_price . ' ' . $price * pow(10, 8)); - return $ret_price; + return phpcommon\bnToStr($ret_price); } private function countFreeBuyTimes($goods) {