小数点保留

master
zhengyongxing 4 years ago
parent b54b2660d4
commit ed8d1fee0a

@ -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); //个人等于 结算金额*比例

Loading…
Cancel
Save