ShuanghongS 1 year ago
parent
commit
faae97a721
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/common.class.php

+ 1 - 1
utils/common.class.php

@@ -1345,7 +1345,7 @@ class common {
             $max = 0;
             $data = array();
             foreach($co2e as $val){
-                $data[] = empty($val['catnum'])? 0 : floatval(number_format($val['catnum'], 4));
+                $data[] = empty($val['catnum'])? 0 : $val['catnum'];
                 $total = $total + $val['catnum'];
                 $max = $max < $val['catnum'] ? $val['catnum'] : $max;
             }