Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
roysurles committed May 2, 2018
1 parent 2e965f2 commit b52649e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit b52649e

Please sign in to comment.