diff --git a/Application/Admin/Controller/CompanySystemRatioController.class.php b/Application/Admin/Controller/CompanySystemRatioController.class.php
index cdf63f901..7fc39dfa3 100644
--- a/Application/Admin/Controller/CompanySystemRatioController.class.php
+++ b/Application/Admin/Controller/CompanySystemRatioController.class.php
@@ -123,13 +123,13 @@ class CompanySystemRatioController extends AdminController
||!($data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+1]['turnover'])) {
$end = '∞';
} elseif($data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+1]['turnover'] == $vvv['turnover'] && $data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+2]['turnover']) {
- $end = $data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+2]['turnover'];
+ $end = floatval($data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+2]['turnover']);
} else {
- $end = $data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+1]['turnover'];
+ $end = floatval($data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk+1]['turnover']);
}
$data[$key]['data'][$k]['game_data'][$vk]['ratio_data'][$vvk]['turnover']
- = $vvv['turnover'].($vvv['instanceof']==1?'<=':'<').'月流水'.
+ = floatval($vvv['turnover']).($vvv['instanceof']==1?'<=':'<').'月流水'.
('<').
($end);
} else {
diff --git a/Application/Admin/View/CompanySystemRatio/index.html b/Application/Admin/View/CompanySystemRatio/index.html
index 63e48a787..bc7bea523 100644
--- a/Application/Admin/View/CompanySystemRatio/index.html
+++ b/Application/Admin/View/CompanySystemRatio/index.html
@@ -142,22 +142,22 @@
{$data['data'][0]['original_package_name']|default='无'} |
{$data['data'][0]['game_data'][0]['game_name']|default='无'} |
{$data['data'][0]['game_data'][0]['ratio_data'][0]['turnover']|default='无阶梯'} |
- {$data['data'][0]['game_data'][0]['ratio_data'][0][3]|default='0.00'}% |
- {$data['data'][0]['game_data'][0]['ratio_data'][0][0]|default='0.00'}% |
- {$data['data'][0]['game_data'][0]['ratio_data'][0][1]|default='0.00'}% |
- {$data['data'][0]['game_data'][0]['ratio_data'][0][2]|default='0.00'}% |
- {$data['data'][0]['game_data'][0]['ratio_data'][0][4]|default='0.00'}% |
+ {$data['data'][0]['game_data'][0]['ratio_data'][0][3]|floatval}% |
+ {$data['data'][0]['game_data'][0]['ratio_data'][0][0]|floatval}% |
+ {$data['data'][0]['game_data'][0]['ratio_data'][0][1]|floatval}% |
+ {$data['data'][0]['game_data'][0]['ratio_data'][0][2]|floatval}% |
+ {$data['data'][0]['game_data'][0]['ratio_data'][0][4]|floatval}% |
{$ratio_data['turnover']|default='无阶梯'} |
- {$ratio_data[3]|default='0.00'}% |
- {$ratio_data[0]|default='0.00'}% |
- {$ratio_data[1]|default='0.00'}% |
- {$ratio_data[2]|default='0.00'}% |
- {$ratio_data[4]|default='0.00'}% |
+ {$ratio_data[3]|floatval}% |
+ {$ratio_data[0]|floatval}% |
+ {$ratio_data[1]|floatval}% |
+ {$ratio_data[2]|floatval}% |
+ {$ratio_data[4]|floatval}% |
@@ -171,11 +171,11 @@
{$game_data_other['turnover']|default='无阶梯'} |
- {$game_data_other['3']|default='0.00'}% |
- {$game_data_other['0']|default='0.00'}% |
- {$game_data_other['1']|default='0.00'}% |
- {$game_data_other['2']|default='0.00'}% |
- {$game_data_other['4']|default='0.00'}% |
+ {$game_data_other['3']|floatval}% |
+ {$game_data_other['0']|floatval}% |
+ {$game_data_other['1']|floatval}% |
+ {$game_data_other['2']|floatval}% |
+ {$game_data_other['4']|floatval}% |
@@ -189,11 +189,11 @@
{$sun_data['original_package_name']|default='无'} |
{$sun_data['game_data'][0]['game_name']|default='无'} |
{$sun_data['game_data'][0]['ratio_data'][0]['turnover']|default='无阶梯'} |
- {$sun_data['game_data'][0]['ratio_data'][0]['3']|default='0.00'}% |
- {$sun_data['game_data'][0]['ratio_data'][0]['0']|default='0.00'}% |
- {$sun_data['game_data'][0]['ratio_data'][0]['1']|default='0.00'}% |
- {$sun_data['game_data'][0]['ratio_data'][0]['2']|default='0.00'}% |
- {$sun_data['game_data'][0]['ratio_data'][0]['4']|default='0.00'}% |
+ {$sun_data['game_data'][0]['ratio_data'][0]['3']|floatval}% |
+ {$sun_data['game_data'][0]['ratio_data'][0]['0']|floatval}% |
+ {$sun_data['game_data'][0]['ratio_data'][0]['1']|floatval}% |
+ {$sun_data['game_data'][0]['ratio_data'][0]['2']|floatval}% |
+ {$sun_data['game_data'][0]['ratio_data'][0]['4']|floatval}% |
@@ -203,11 +203,11 @@
{$game_datas['turnover']|default='无阶梯'} |
- {$game_datas['3']|default='0.00'}% |
- {$game_datas['0']|default='0.00'}% |
- {$game_datas['1']|default='0.00'}% |
- {$game_datas['2']|default='0.00'}% |
- {$game_datas['4']|default='0.00'}% |
+ {$game_datas['3']|floatval}% |
+ {$game_datas['0']|floatval}% |
+ {$game_datas['1']|floatval}% |
+ {$game_datas['2']|floatval}% |
+ {$game_datas['4']|floatval}% |
@@ -219,21 +219,21 @@
{$game_datas['game_name']|default='无'} |
{$game_datas['ratio_data'][0]['turnover']|default='无阶梯'} |
- {$game_datas['ratio_data'][0][3]|default='0.00'}% |
- {$game_datas['ratio_data'][0][0]|default='0.00'}% |
- {$game_datas['ratio_data'][0][1]|default='0.00'}% |
- {$game_datas['ratio_data'][0][2]|default='0.00'}% |
- {$game_datas['ratio_data'][0][4]|default='0.00'}% |
+ {$game_datas['ratio_data'][0][3]|floatval}% |
+ {$game_datas['ratio_data'][0][0]|floatval}% |
+ {$game_datas['ratio_data'][0][1]|floatval}% |
+ {$game_datas['ratio_data'][0][2]|floatval}% |
+ {$game_datas['ratio_data'][0][4]|floatval}% |
{$game_data_others['turnover']|default='无阶梯'} |
- {$game_data_others['3']|default='0.00'}% |
- {$game_data_others['0']|default='0.00'}% |
- {$game_data_others['1']|default='0.00'}% |
- {$game_data_others['2']|default='0.00'}% |
- {$game_data_others['4']|default='0.00'}% |
+ {$game_data_others['3']|floatval}% |
+ {$game_data_others['0']|floatval}% |
+ {$game_data_others['1']|floatval}% |
+ {$game_data_others['2']|floatval}% |
+ {$game_data_others['4']|floatval}% |