From ed8d1fee0ad87803f7bf547d7e57a8cd425cf7be Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 26 Nov 2020 17:30:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=95=B0=E7=82=B9=E4=BF=9D=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CompanyStatementSetController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index 56796605f..37ffa7960 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -1684,7 +1684,7 @@ class CompanyStatementSetController extends Controller { $p_info['pay_amount'] = $this->getRelationGameIdPromoteSpend($p_info["p_id"],$p_info['relation_game_id'],$tmp_game_ratio['begintime'],$tmp_game_ratio['endtime']); - $p_info['pay_amount'] = round($p_info['pay_amount'],2); + $p_info['pay_amount'] = number_format($p_info['pay_amount'],2,'.',''); $v['platform_amount'] += $p_info['pay_amount']; $p_info['sum_money']=round($p_info['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例 @@ -1762,7 +1762,7 @@ class CompanyStatementSetController extends Controller { } $temp_game['pay_amount'] = $this->getRelationGameIdPromoteSpend($p_info["p_id"],$p_info['relation_game_id'],$tmp_game_ratio['begintime'],$tmp_game_ratio['endtime']); $temp_game['pay_amount'] -=0; - $temp_game['pay_amount'] = round($temp_game['pay_amount'],2); + $temp_game['pay_amount'] = number_format($temp_game['pay_amount'],2,'.',''); $v['platform_amount'] += $temp_game['pay_amount']; $temp_game['sum_money']=round($temp_game['pay_amount']*$tratio/100,2); //个人等于 结算金额*比例