I'm majoring in philosophy at my undergraduate university but I've also taken a fair number of math classes. I've generally found that taking math classes is very time consuming and dramatically limits the amount of time I can spend working on philosophy classes. On the other hand, I feel like I learn a lot in the math classes that sometimes influences how I think about philosophy. I'm a junior and I would need about 4 more math classes for a math major (I have three semesters left before I graduate). For purposes of admissions to philosophy phd programs, should I continue to take math classes and get a math major (in addition to philosophy), or should I just focus on philosophy?
ADDED: I understand that math will be helpful to me in studying philosophy. I am specifically interested in whether it is worth studying in the remainder of my undergraduate career given the opportunity cost for my ability to focus on philosophy.