diff --git a/serve/app/controller/Main.php b/serve/app/controller/Main.php index 3c892da4028f89fedcaee81aeb2550fb22c66f2f..b32b154923a255f994eb197448a72b9ff91dad83 100644 --- a/serve/app/controller/Main.php +++ b/serve/app/controller/Main.php @@ -24,7 +24,7 @@ class Main extends Acl{ $lattice['sve']=[ 'today'=>empty($group['today']['sell']['actual'])?0:floatval($group['today']['sell']['actual']), - 'yesterday'=>empty($group['yesterday']['sell']['actual'])?0:$group['yesterday']['sell']['actual'], + 'yesterday'=>empty($group['yesterday']['sell']['actual'])?0:floatval($group['yesterday']['sell']['actual']), ]; $lattice['nos']=[ 'today'=>[