How is Quarterly Average Balance calculate?

Could someone please explain how QAB is calculated? There have been a couple of answers to this question but none were very clear.

Should the daily balance for 90 days be divided by 3 or by 90 to get QAB?
5 answers 5