From e7837de4865b6164f26ab26b615f8c3cc90b3314 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 27 Jun 2023 16:02:13 +0800 Subject: [PATCH] 1 --- webapp/services/BlockChainService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/services/BlockChainService.php b/webapp/services/BlockChainService.php index 854cda25..a442715a 100644 --- a/webapp/services/BlockChainService.php +++ b/webapp/services/BlockChainService.php @@ -90,7 +90,7 @@ class BlockChainService { { $xiShu = 10000; $intPrice = $price * $xiShu; - $formatedStr = phpcommon\bnDiv(phpcommon\bnMul_s($intPrice, phpcommon\bnPow_s(10, 18)), $xiShu); + $formatedStr = phpcommon\bnDiv_s(phpcommon\bnMul_s($intPrice, phpcommon\bnPow_s(10, 18)), $xiShu); return $formatedStr; }