Addition of parseInt to howLongToBuy for clean result