lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 01886b2 5/8: Round CSV "boost"


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 01886b2 5/8: Round CSV "boost"
Date: Tue, 26 Jan 2021 08:12:31 -0500 (EST)

branch: master
commit 01886b2c42c18ec9434a2fb35a48708fe6fe2d2e
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Round CSV "boost"
    
    Cash value can be "boosted" only by integral cents.
---
 ihs_acctval.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index d86d3dc..8abf703 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -1052,9 +1052,7 @@ currency AccountValue::CSVBoost() const
         + yare_input_.CashValueEnhancementRate[Year]
         ;
     LMI_ASSERT(0.0 <= z);
-    return z * std::max(C0, TotalAccountValue());
-    // CURRENCY !! This should be rounded.
-//  return round_minutiae().c(z * std::max(C0, TotalAccountValue()));
+    return round_minutiae().c(z * std::max(C0, TotalAccountValue()));
 }
 
 //============================================================================



reply via email to

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