trouble multiplying in JavaScript

So what I am trying to do here in JavaScript is find out is i want to order more candy or not. So far I compare the in Stock to the weekly average and if in Stock is < weekly average I will order 2 times the weekly Average. However, if the is greater than in Stock then i will order nothing. Here’s my code so far. My function should take on 2 arguments which is inventory and candy here. I cant figure out why it returning nothing but zero, when it should be letting me know how much candy