cqp há 5 meses atrás
pai
commit
e3905ea63e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Service/CheckService.php

+ 1 - 1
app/Service/CheckService.php

@@ -407,7 +407,7 @@ class CheckService extends Service
             }
         }
         foreach ($product_map as $key => $value){
-            $rate[$key] = bcdiv($value / $total, 2);
+            $rate[$key] = bcdiv($value, $total, 2);
         }
 
         try {