(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:
parent
e7c9da21e5
commit
bcc4a86944
4 changed files with 16 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue