Thanks, that's what I was looking for. I had a feeling it was something to do with using the 365th root but couldn't get my head round the correct calculation. Must admit I started dividing the annual rate by 365 before realising the error.
It's no error, lenders use average daily rate, which is why it's APR divided by 365. Helps you do away with the fancy maths.