I have an error in the program I'm making has an error in my calculate button code.
Private Sub btnCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalc.Click
Dim dblUnitsPerYear As Double
Dim dblSetupCost As Double
Dim dblCarryingCost As Double
Dim dblProductionLotSize As Double
I would guess it should be
dblProductionLotSize =(2 * dblUnitsPerYear * dblSetupCost) / dblCarryingCost)^.5)
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
NOpe its a left paren
this
dblProductionLotSize =(2 * dblUnitsPerYear * dblSetupCost) / dblCarryingCost)^.5
is
dblProductionLotSize =((2 * dblUnitsPerYear * dblSetupCost) / dblCarryingCost)^.5
ya, either a broken If/End If .. broken loop, or broken parens etc. Something of that nature 95% of the time.
(the other 5% lord only knows )
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>