Hi!
I want to calculate a cost based on an amount on a bookeeping account that can increase and decrease over time.
so lets say that an invoice costs x $ day 1 day 4 the customer pays half of it hence, the amount on the bookeeping account decreses.
Calculating cost for day 1 is easy x $ times the intrerst and so is day 4. But for the days in between, how do i do that?
I have an interest for each day.
I'm i making any sense at all?
Thanks in advance,
//A.