Hermione mentioned in the first book that wizards tend to absolutely suck at things that are typically Muggle, like logic, so it follows that they probably suck at math too.
True, but their methods of learning do not differ significantly from that of muggles. They still need to take classes the same way we do, and this would need to learn maths and logic the same way too.