I've said it before and I'll say it again, failing A level maths didn't stop me becoming a pilot. What little maths there is in the ATPLs is GCSE standard, and for airline pilots a working knowledge of the three times table is quite sufficient.
The only caveat is that younger candidates with little or no work / life experience would be well advised to get the best exam grades they can, as they won't have much else on their CV.
Oh, and by the way, my school careers adviser reckoned I was too short to be an airline pilot - suggested a career as a quantity surveyor instead.