lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/002 d63c5b3 33/65: round all the things


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/002 d63c5b3 33/65: round all the things
Date: Wed, 16 Sep 2020 16:55:17 -0400 (EDT)

branch: valyuta/002
commit d63c5b33d46fbf475581f2b88ae63203c9f41832
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    round all the things
---
 ihs_acctval.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index f65a828..0db06a3 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -1020,7 +1020,7 @@ currency AccountValue::CSVBoost() const
         + yare_input_.CashValueEnhancementRate[Year]
         ;
     LMI_ASSERT(0.0 <= z);
-    return currency(z * std::max(currency(0.0), TotalAccountValue()));
+    return round_minutiae().c(z * std::max(currency(0.0), 
TotalAccountValue()));
 }
 
 //============================================================================



reply via email to

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