testing
This commit is contained in:
@@ -538,10 +538,11 @@ class MoonCalc {
|
|||||||
$m3Size = $item->m3Size;
|
$m3Size = $item->m3Size;
|
||||||
//Calculate the actual m3 from the total pull amount in m3 using the percentage of the ingredient
|
//Calculate the actual m3 from the total pull amount in m3 using the percentage of the ingredient
|
||||||
$actualm3 = floor($totalPull * ($percentage / 100));
|
$actualm3 = floor($totalPull * ($percentage / 100));
|
||||||
dd($actualm3);
|
|
||||||
//Calculate the units from the m3 pulled from the moon
|
//Calculate the units from the m3 pulled from the moon
|
||||||
$units = floor($actualm3 / $m3Size);
|
$units = floor($actualm3 / $m3Size);
|
||||||
|
|
||||||
|
dd($units);
|
||||||
|
|
||||||
return $units;
|
return $units;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user