Becoming an Accountant

I am going to graduate soon with a BS in Applied Math, and have been considering going on to get an MS in Accountancy. Someone told me this is a waste of time and money because I can get the 24 accounting units I need from a community college and then take the exam, and that most companies don't care about your degree as long as you have taken or are eligible to take the exam. Is this true? Is there a reason to invest all that money in a MS I live and plan to work in CA, and I'm pretty sure my math and computer science classes cover the business-related units, so I just need the accounting units.