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; }