正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -381,6 +381,7 @@ class PersonalcenterController extends WeChatBaseController{ | @@ -381,6 +381,7 @@ class PersonalcenterController extends WeChatBaseController{ | ||
381 | $cumulative_money += $val['money']; | 381 | $cumulative_money += $val['money']; |
382 | } | 382 | } |
383 | $cumulative_money = $cumulative_money-$cumulative_money*0.006; | 383 | $cumulative_money = $cumulative_money-$cumulative_money*0.006; |
384 | + $cumulative_money = sprintf("%.2f",$cumulative_money); | ||
384 | $money_ratio = Db::name('money_ratio') -> where('id',1) -> find(); | 385 | $money_ratio = Db::name('money_ratio') -> where('id',1) -> find(); |
385 | $money_ratio['platform_ratio'] = $money_ratio['platform_ratio']*100; | 386 | $money_ratio['platform_ratio'] = $money_ratio['platform_ratio']*100; |
386 | $money_ratio['platform_ratio'] = $money_ratio['platform_ratio'].'%'; | 387 | $money_ratio['platform_ratio'] = $money_ratio['platform_ratio'].'%'; |
-
请 注册 或 登录 后发表评论