lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/007 ba639668 08/18: Reorder format-style map


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/007 ba639668 08/18: Reorder format-style map
Date: Sun, 24 Apr 2022 18:46:14 -0400 (EDT)

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

    Reorder format-style map
---
 ledger_evaluator.cpp | 68 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 40 insertions(+), 28 deletions(-)

diff --git a/ledger_evaluator.cpp b/ledger_evaluator.cpp
index 94e8ae3d..f15de062 100644
--- a/ledger_evaluator.cpp
+++ b/ledger_evaluator.cpp
@@ -474,15 +474,19 @@ format_map_t static_formats()
 // > Format as a number with thousand separators and two decimal places 
(#,###,###.00)
 // >
     ,{"CurrentCoiMultiplier"            , f2}
-    ,{"EeListBillPremium"               , f6}
-    ,{"ErListBillPremium"               , f6}
     ,{"GuarPrem"                        , f2}
     ,{"InforceTaxBasis"                 , f2}
     ,{"InforceTotalAV"                  , f2}
+    ,{"InitSevenPayPrem"                , f2}
+// >
+// F6: two decimals, commas, cents to dollars
+// > Format as a number with thousand separators and two decimal places 
(#,###,###.00)
+// >
+    ,{"EeListBillPremium"               , f6}
+    ,{"ErListBillPremium"               , f6}
     ,{"InitGLP"                         , f6}
     ,{"InitGSP"                         , f6}
     ,{"InitPrem"                        , f6}
-    ,{"InitSevenPayPrem"                , f2}
     ,{"InitTgtPrem"                     , f6}
     ,{"ListBillPremium"                 , f6}
 // >
@@ -494,10 +498,8 @@ format_map_t static_formats()
     ,{"AvgFund"                         , f1}
     ,{"ChildRiderAmount"                , f1}
     ,{"CustomFund"                      , f1}
-    ,{"Dumpin"                          , f5}
     ,{"EndtAge"                         , f1}
     ,{"ErNotionallyPaysTerm"            , f1}
-    ,{"External1035Amount"              , f5}
     ,{"GenderBlended"                   , f1}
     ,{"GreatestLapseDuration"           , f1}
     ,{"GroupIndivSelection"             , f1}
@@ -512,10 +514,6 @@ format_map_t static_formats()
     ,{"InforceIsMec"                    , f1}
     ,{"InforceMonth"                    , f1}
     ,{"InforceYear"                     , f1}
-    ,{"InitBaseSpecAmt"                 , f5}
-    ,{"InitTermSpecAmt"                 , f5}
-    ,{"InitTotalSA"                     , f5}
-    ,{"Internal1035Amount"              , f5}
     ,{"IsInforce"                       , f1}
     ,{"IsMec"                           , f1}
     ,{"IsSinglePremium"                 , f1}
@@ -543,6 +541,16 @@ format_map_t static_formats()
     ,{"TxCallsGuarUwSubstd"             , f1}
     ,{"UsePartialMort"                  , f1}
     ,{"WriteTsvFile"                    , f1}
+// >
+// F5: zero decimals, commas, cents to dollars
+// > Format as a number with thousand separators and no decimal places 
(#,###,###)
+// >
+    ,{"Dumpin"                          , f5}
+    ,{"External1035Amount"              , f5}
+    ,{"InitBaseSpecAmt"                 , f5}
+    ,{"InitTermSpecAmt"                 , f5}
+    ,{"InitTotalSA"                     , f5}
+    ,{"Internal1035Amount"              , f5}
 
 // > Vector Formatting
 // >
@@ -612,42 +620,50 @@ format_map_t static_formats()
 // F1: zero decimals, commas
 // > Format as a number with thousand separators and no decimal places 
(#,###,##0)
 // >
-    ,{"AVGenAcct"                       , f5}
     ,{"AVRelOnDeath"                    , f1}
-    ,{"AVSepAcct"                       , f5}
-    ,{"AcctVal"                         , f5}
     ,{"AccumulatedPremium"              , f1}
     ,{"AddonCompOnAssets"               , f1}
     ,{"AddonCompOnPremium"              , f1}
     ,{"AvgDeathBft"                     , f1}
     ,{"BOYAssets"                       , f1}
-    ,{"BaseDeathBft"                    , f5}
-    ,{"COICharge"                       , f5}
-    ,{"CSVNet"                          , f5}
-    ,{"CV7702"                          , f5}
     ,{"ClaimsPaid"                      , f1}
     ,{"Composite"                       , f1}
     ,{"DacTaxLoad"                      , f1}
     ,{"DacTaxRsv"                       , f1}
-    ,{"Dcv"                             , f5}
     ,{"DeathProceedsPaid"               , f1}
+//  ,{"EeMode"                          , f1} // Not numeric.
+//  ,{"ErMode"                          , f1} // Not numeric.
+    ,{"ExpenseCharges"                  , f1}
+    ,{"FundNumbers"                     , f1}
+    ,{"Loads"                           , f1}
+    ,{"NaarForceout"                    , f1}
+    ,{"NetClaims"                       , f1}
+    ,{"PremTaxLoad"                     , f1}
+    ,{"RefundableSalesLoad"             , f1}
+    ,{"Salary"                          , f1}
+    ,{"SpouseRiderAmount"               , f1}
+// >
+// F5: zero decimals, commas, cents to dollars
+// > Format as a number with thousand separators and no decimal places 
(#,###,##0)
+// >
+    ,{"AVGenAcct"                       , f5}
+    ,{"AVSepAcct"                       , f5}
+    ,{"AcctVal"                         , f5}
+    ,{"BaseDeathBft"                    , f5}
+    ,{"COICharge"                       , f5}
+    ,{"CSVNet"                          , f5}
+    ,{"CV7702"                          , f5}
+    ,{"Dcv"                             , f5}
     ,{"EOYDeathBft"                     , f5}
     ,{"EeGrossPmt"                      , f5}
     ,{"EeModalMinimumPremium"           , f5}
-//  ,{"EeMode"                          , f1} // Not numeric.
     ,{"ErGrossPmt"                      , f5}
     ,{"ErModalMinimumPremium"           , f5}
-//  ,{"ErMode"                          , f1} // Not numeric.
-    ,{"ExpenseCharges"                  , f1}
-    ,{"FundNumbers"                     , f1}
     ,{"GptForceout"                     , f5}
     ,{"GrossIntCredited"                , f5}
     ,{"GrossPmt"                        , f5}
-    ,{"Loads"                           , f1}
     ,{"LoanIntAccrued"                  , f5}
     ,{"ModalMinimumPremium"             , f5}
-    ,{"NaarForceout"                    , f1}
-    ,{"NetClaims"                       , f1}
     ,{"NetIntCredited"                  , f5}
     ,{"NetPmt"                          , f5}
     ,{"NetWD"                           , f5}
@@ -655,14 +671,10 @@ format_map_t static_formats()
     ,{"Outlay"                          , f5}
     ,{"PolicyFee"                       , f5}
     ,{"PrefLoanBalance"                 , f5} // Not used yet.
-    ,{"PremTaxLoad"                     , f1}
-    ,{"RefundableSalesLoad"             , f1}
     ,{"RiderCharges"                    , f5}
-    ,{"Salary"                          , f1}
     ,{"SepAcctCharges"                  , f5}
     ,{"SpecAmt"                         , f5}
     ,{"SpecAmtLoad"                     , f5}
-    ,{"SpouseRiderAmount"               , f1}
     ,{"SurrChg"                         , f5}
     ,{"TermPurchased"                   , f5}
     ,{"TermSpecAmt"                     , f5}



reply via email to

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