lmi-commits
[Top][All Lists]
Advanced

[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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]