Your Name 2 tahun lalu
induk
melakukan
9041e57541
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      app/card/lib/Manage.php

+ 2 - 2
app/card/lib/Manage.php

@@ -118,8 +118,8 @@ class Manage
             $info['use_cash'] = 0;
         }
         $table['总面值'] = $info['total_cash'];
-        $table['已用面值'] = $info['use_cash'];
-        $table['剩余面值'] = $info['total_cash'] - $info['use_cash'];
+        $table['已用面值'] = round($info['use_cash'],2);
+        $table['剩余面值'] = round(($info['total_cash'] - $info['use_cash']),2);
 
         if ($table) {
             return Dever::table($table);