diff --git a/ElectronicColorCodeCalculator.Core/Calculators/OhmValueCalculator/FourBandResistorCalculator.cs b/ElectronicColorCodeCalculator.Core/Calculators/OhmValueCalculator/FourBandResistorCalculator.cs index 760ff1a..8abb02e 100644 --- a/ElectronicColorCodeCalculator.Core/Calculators/OhmValueCalculator/FourBandResistorCalculator.cs +++ b/ElectronicColorCodeCalculator.Core/Calculators/OhmValueCalculator/FourBandResistorCalculator.cs @@ -36,11 +36,6 @@ public FourBandResistorCalculator(IFourColorCodeBandsViewModel colorCodeBandsVie var significantFigures = string.Concat(bandAcolor.SignificantFigure, bandBcolor.SignificantFigure); var significantFiguresAsInt = Convert.ToInt32(significantFigures); - // TODO: changing return type to nullable decimal to allow: - // 1) null when unable to calculate (i.e bad input) - // 2) decimal values for decimal multipliers - // 3) values larger than int.MaxValue - return significantFiguresAsInt * bandCcolor.Multiplier; } }