From e1f4903535ae06b3d56346589302236a99d47a5d Mon Sep 17 00:00:00 2001 From: Dan <daniel2.lorych@live.uwe.ac.uk> Date: Sun, 1 May 2022 18:50:42 +0100 Subject: [PATCH] Update roof area data type --- Helios/Source/SolarPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Helios/Source/SolarPanel.cs b/Helios/Source/SolarPanel.cs index ab72a11..e2a09a3 100644 --- a/Helios/Source/SolarPanel.cs +++ b/Helios/Source/SolarPanel.cs @@ -31,7 +31,7 @@ namespace Helios.Source return installationCost; } - public double GetPowerOutput(int roofArea, int roofElevation) + public double GetPowerOutput(double roofArea, int roofElevation) { double powerOutput; -- GitLab