As many as a quarter say their experiences with maths at school has put them off using maths as an adult, according to data from Barclays.