(fina, repa, shark): Bankers never round down debts!

(repa, coll): Collect interest for the time the debtor is idling at
sub-prompts.
This commit is contained in:
Markus Armbruster 2004-08-20 08:47:00 +00:00
parent e7c9da21e5
commit bcc4a86944
4 changed files with 16 additions and 13 deletions

View file

@ -70,9 +70,9 @@ fina(void)
pr(" %-2d (%3d) %-8.8s (%3d) %-8.8s ", ni.cur,
loan.l_loner, cname(loan.l_loner),
loan.l_lonee, cname(loan.l_lonee));
pr("%3d%% %3d %5ld %7ld",
pr("%3d%% %3d %5ld %7.0f",
loan.l_irate, loan.l_ldur, loan.l_amtpaid,
(long)loan_owed(&loan, now));
ceil(loan_owed(&loan, now)));
if (now > loan.l_duedate)
pr(" (in arrears)\n");
else