[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5541] Treat 'TgtPremMonthlyPolFee' as monthly instead of
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5541] Treat 'TgtPremMonthlyPolFee' as monthly instead of annual |
Date: |
Thu, 09 Aug 2012 22:29:29 +0000 |
Revision: 5541
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5541
Author: chicares
Date: 2012-08-09 22:29:29 +0000 (Thu, 09 Aug 2012)
Log Message:
-----------
Treat 'TgtPremMonthlyPolFee' as monthly instead of annual
Modified Paths:
--------------
lmi/trunk/ihs_basicval.cpp
Modified: lmi/trunk/ihs_basicval.cpp
===================================================================
--- lmi/trunk/ihs_basicval.cpp 2012-08-09 09:37:13 UTC (rev 5540)
+++ lmi/trunk/ihs_basicval.cpp 2012-08-09 22:29:29 UTC (rev 5541)
@@ -980,7 +980,7 @@
/// choice is left to the caller.
///
/// 'TgtPremMonthlyPolFee' is applied here, not in GetModalTgtPrem(),
-/// because it is appropriate only here. In the other two cases that
+/// because it is more appropriate here. In the other two cases that
/// GetModalPrem() contemplates:
/// - 'oe_monthly_deduction': deductions would naturally include any
/// policy fee;
@@ -993,10 +993,6 @@
/// this function is used for minimum premium with a nonzero fee
/// (because no GetModalPremMinFromTable() has yet been written).
///
-/// It is assumed that 'TgtPremMonthlyPolFee' is on an annual basis
-/// (DATABASE !! thus, its name is misleading and should be changed)
-/// and that it can be modalized pro rata.
-///
/// As the GetModalSpecAmt() documentation for 'oe_modal_table' says,
/// target and minimum premiums really ought to distinguished.
@@ -1008,7 +1004,7 @@
{
return round_max_premium()
(
- ( TgtPremMonthlyPolFee
+ ( TgtPremMonthlyPolFee * 12
+ a_specamt
* ldbl_eps_plus_one()
* MortalityRates_->TargetPremiumRates()[0]
@@ -1200,7 +1196,7 @@
{
return round_min_specamt()
(
- (annualized_pmt - TgtPremMonthlyPolFee)
+ (annualized_pmt - TgtPremMonthlyPolFee * 12)
/ MortalityRates_->TargetPremiumRates()[0]
);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5541] Treat 'TgtPremMonthlyPolFee' as monthly instead of annual,
Greg Chicares <=