Re: [GNC] Calculating interest rates

2021-09-13 Thread William Prescott
Maybe not the most efficient way to do it, but it sounds trivial to iterate through the days of the year, calculating and crediting the interest every day based on the daily balance (incremented on days with a deposit). At the same time keep a running sum of the daily interest, then use your for

Re: [GNC] Calculating interest rates

2021-09-13 Thread john
> On Sep 13, 2021, at 7:46 AM, Steve Hill wrote: > > > Despite much Googling I haven't been able to find anything explaining how to > calculate this... > > I know: > - The balance of a savings account at the start of the year; > - The amounts and dates of payments into the account; and > -

[GNC] Calculating interest rates

2021-09-13 Thread Steve Hill
Despite much Googling I haven't been able to find anything explaining how to calculate this... I know: - The balance of a savings account at the start of the year; - The amounts and dates of payments into the account; and - The amount of interest paid at the end of the year. I want to cal