Skip to content

Commit 3eedfd9

Browse files
committed
better naming
1 parent be9b6af commit 3eedfd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Amortisation.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,11 +794,11 @@ module Amortisation =
794794
// ignore small amounts of interest that have accumulated by the last day of the schedule, with the allowance being proportional to the length of the schedule
795795
let calculateSettlementReduction m =
796796
if currentDay = maxAppliedPaymentDay then
797-
let ignored = Interest.ignoreFractionalCents appliedPaymentCount m
797+
let valueMinusForgiven = Interest.ignoreFractionalCents appliedPaymentCount m
798798

799799
{|
800-
Reduction = m - ignored |> max 0m<Cent>
801-
FractionForgiven = ignored = 0m<Cent>
800+
Reduction = m - valueMinusForgiven |> max 0m<Cent>
801+
FractionForgiven = valueMinusForgiven = 0m<Cent>
802802
|}
803803
else
804804
{|

0 commit comments

Comments
 (0)