From baf7c2130ed6cbbd5763f36f9e5c58a99f9cbefa Mon Sep 17 00:00:00 2001 From: Christopher Mancuso Date: Mon, 5 Jul 2021 21:50:58 -0500 Subject: [PATCH] working on moon rental worth --- app/Library/Moons/MoonCalc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Library/Moons/MoonCalc.php b/app/Library/Moons/MoonCalc.php index 633982a96..12a928aab 100644 --- a/app/Library/Moons/MoonCalc.php +++ b/app/Library/Moons/MoonCalc.php @@ -580,15 +580,15 @@ class MoonCalc { $firstPerc = $this->ConvertToPercentage($firstPerc); } - if($secondQuan >= 1.00) { + if($secondPerc >= 1.00) { $secondPerc = $this->ConvertToPercentage($secondPerc); } - if($thirdQuan >= 1.00) { + if($thirdPerc >= 1.00) { $thirdPerc = $this->ConvertToPercentage($thirdPerc); } - if($fourthQuan >= 1.00) { + if($fourthPerc >= 1.00) { $fourthPerc = $this->ConvertToPercentage($fourthPerc); }