[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e166864 6/6: Round interest credit to separat
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e166864 6/6: Round interest credit to separate account |
Date: |
Wed, 12 Aug 2020 18:48:00 -0400 (EDT) |
branch: master
commit e166864b20e5f04472e740fc5b4f9f16d0b301a7
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Round interest credit to separate account
It seems unnatural to think that the separate account balance could be
other than an integral number of cents, so increments thereto must be
confined to the same domain in order to maintain closure.
---
ihs_avmly.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index e81cb58..049d515 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -1975,7 +1975,7 @@ void AccountValue::TxTakeSepAcctLoad()
YearsSepAcctLoadRate = round_interest_rate()(YearsSepAcctLoadRate);
}
- SepAcctLoad = YearsSepAcctLoadRate * AVSepAcct;
+ SepAcctLoad = round_interest_credit()(YearsSepAcctLoadRate * AVSepAcct);
process_deduction(SepAcctLoad);
YearsTotalSepAcctLoad += SepAcctLoad;
Dcv -= SepAcctLoad;
- [lmi-commits] [lmi] master updated (26865ea -> e166864), Greg Chicares, 2020/08/12
- [lmi-commits] [lmi] master 97a7a35 1/6: Improve variable names, Greg Chicares, 2020/08/12
- [lmi-commits] [lmi] master e166864 6/6: Round interest credit to separate account,
Greg Chicares <=
- [lmi-commits] [lmi] master 8667bda 2/6: Add a rounding rule for minutiae, Greg Chicares, 2020/08/12
- [lmi-commits] [lmi] master 363ea40 3/6: Round specified-amount load, Greg Chicares, 2020/08/12
- [lmi-commits] [lmi] master 785e6f4 4/6: Round rider charges, Greg Chicares, 2020/08/12
- [lmi-commits] [lmi] master 7837f36 5/6: Fix defect introduced 20050114T1947Z: function call with no effect, Greg Chicares, 2020/08/12