Thanks!
Last edited on
line 65 always gives a balance of zero. Is that what you want?
Mmm, I want the calculation to stop when the balance is 0, meaning when the whole balance has been paid.
Well, that's not how balance = balance - balance
will help. Maybe just write a few lines of code that does what you just wrote.