@@ -242,7 +242,7 @@ class ProductClass extends BaseClass
$mll = 0;
} else {
$profit = bcsub($price, $cost, 2);
- $mll = bcdiv($profit, $cost, 3);
+ $mll = bcdiv($profit, $price, 3);
$mll = bcmul($mll, 100);
$mll = round($mll, 1);
}