What level of maths do you need to know before programming?

A friend said programming requires too much maths knowledge-I said that you just need to know the basics (addition, subtraction, division, multiplication). He also reckons HTML is a programming language ;-)

In the majority of cases the Maths is quite basic(working on general programs). In some cases(e.g. if you work in engineering, CAD) the Maths may be more complex.

What do you think? What level is your maths knowledge?