Hi Hilmar
>The interesting part is that you can also apply the power to fractions of a year. For example, the factor for the daily increase is 1.1 ^ (1/365), assuming that you use years of 365 days. That is, you can easily convert yearly interest to daily interest.
Okay but there is a variation in the results, not big but definately different.
>Now, it is also a matter of policies, how interests will be handled on a daily basis. Do you apply the interest only at the end of the month, or of the weak, or every day?
The deposit in question uses 3 monthly interest.
>Do you use "years" of 360 days for your calculations? (This might be a residue from a period when the Earth was in a different orbit!)
Actually, it is for a past orbit when the earth was moving faster and the gravitational effects of the sun had not slowed it down to todays 365 days orbit.
Well like they say in my mother-tounge Gujarati "Nakal ne Akal na hoi" literally "copying has no brains" <g>. Actully I had done a google for compound interest and had ended with 3-4 formulae for the same, 2 of which as used in the code. The one for continous and the one for variation from yearly to 360/5 days was interesting to me so in reference to the actual deposit I compared with the generated results.