[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/007 b480490b 13/18: Distinguish two ledger f
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/007 b480490b 13/18: Distinguish two ledger formats |
Date: |
Sun, 24 Apr 2022 18:46:15 -0400 (EDT) |
branch: valyuta/007
commit b480490b82ad9e2b79f4aa576271b8e450e40aca
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Distinguish two ledger formats
Even if "F0" is implemented the same way as "F1" now, the notional
difference is noteworthy and may affect any reimplementation.
---
ledger_evaluator.cpp | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/ledger_evaluator.cpp b/ledger_evaluator.cpp
index e9e23b1c..f97cd49b 100644
--- a/ledger_evaluator.cpp
+++ b/ledger_evaluator.cpp
@@ -484,12 +484,11 @@ format_map_t static_formats()
,{"InitPrem" , f6}
,{"InitTgtPrem" , f6}
,{"ListBillPremium" , f6}
-// F1: zero decimals, commas
-// > Format as a number with thousand separators and no decimal places
(#,###,###)
+// F0: zero decimals
+// > Format as a number with no thousand separator or decimal point (##0)
,{"Age" , f1}
,{"AllowGroupQuote" , f1}
,{"AvgFund" , f1}
- ,{"ChildRiderAmount" , f1}
,{"Composite" , f1}
,{"CustomFund" , f1}
,{"EndtAge" , f1}
@@ -535,6 +534,9 @@ format_map_t static_formats()
,{"TxCallsGuarUwSubstd" , f1}
,{"UsePartialMort" , f1}
,{"WriteTsvFile" , f1}
+// F1: zero decimals, commas
+// > Format as a number with thousand separators and no decimal places
(#,###,###)
+ ,{"ChildRiderAmount" , f1}
// F5: zero decimals, commas, cents to dollars
// > Format as a number with thousand separators and no decimal places
(#,###,###)
,{"Dumpin" , f5}
@@ -589,9 +591,10 @@ format_map_t static_formats()
,{"MlySAIntRate" , f4}
,{"TotalIMF" , f4}
// F0: zero decimals
-// > Format as a number no thousand separator or decimal point (##0%)
+// > Format as a number with no thousand separator or decimal point (##0)
,{"AttainedAge" , f1}
,{"Duration" , f1}
+ ,{"FundNumbers" , f1}
,{"PolicyYear" , f1}
// F2: two decimals, commas
// > Format as a number with thousand separators and two decimal places
(#,###,###.00)
@@ -614,7 +617,6 @@ format_map_t static_formats()
// ,{"EeMode" , f1} // Not numeric.
// ,{"ErMode" , f1} // Not numeric.
,{"ExpenseCharges" , f1}
- ,{"FundNumbers" , f1}
,{"Loads" , f1}
,{"NaarForceout" , f1}
,{"NetClaims" , f1}
- [lmi-commits] [lmi] valyuta/007 updated (1cc76075 -> 9bc66a02), Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 03989383 04/18: Add a new ledger emission option, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 a30da52f 06/18: Test eleven farraginous files nychthemerally, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 d8b0c732 10/18: Record speed measurements, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 8c56b11b 11/18: Improve documentation, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 66592ac8 12/18: Rearrange ledger formats, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 9201d7ef 01/18: Allow "touchstone" files to contain '\t', Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 ba639668 08/18: Reorder format-style map, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 b480490b 13/18: Distinguish two ledger formats,
Greg Chicares <=
- [lmi-commits] [lmi] valyuta/007 9bc66a02 18/18: Revert "Temporarily filter out factor-of-100 errors", Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 e8a5d1a4 17/18: Temporarily filter out factor-of-100 errors, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 f77d9219 05/18: Add two new ledger emission options, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 7e2c48ae 03/18: Filter unexpectedly small system-test discrepancies, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 e3830e7a 07/18: Fix omissions earlier on this branch, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 2a247e37 16/18: Mark or expunge unused fields, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 6fa464d3 02/18: Avoid writing " \n", Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 e2f2679c 09/18: Clean up beforehand, not afterward, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 2dfc93c1 14/18: Rearrange ledger formats, Greg Chicares, 2022/04/24
- [lmi-commits] [lmi] valyuta/007 847f3e0f 15/18: Use a more reasonable format for an unused field, Greg Chicares, 2022/04/24