This commit is contained in:
hujiabin 2023-06-27 16:02:13 +08:00
parent 29b21c79bf
commit e7837de486

View File

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