[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 16da526 6/9: Change the format of 'GenAcctAll
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 16da526 6/9: Change the format of 'GenAcctAllocation' |
Date: |
Thu, 27 Sep 2018 12:53:51 -0400 (EDT) |
branch: master
commit 16da526cf3bd98a2e1319a6e4677cbb76fe881b3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Change the format of 'GenAcctAllocation'
Changed the format of this field to a percentage, scaled by 100. It's a
proportion, so the original zero-decimals format was not very useful. No
corresponding change is made to 'ledger_xml_io.cpp', the corresponding
file for XSL-FO: it is better not to touch stable code that is soon to
be expunged, and XSL templates override this format anyway.
---
ledger_evaluator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ledger_evaluator.cpp b/ledger_evaluator.cpp
index f9f42c0..df54e37 100644
--- a/ledger_evaluator.cpp
+++ b/ledger_evaluator.cpp
@@ -482,6 +482,7 @@ ledger_evaluator Ledger::make_evaluator() const
// > Format as percentage with no decimal places (##0%)
format_map["SalesLoadRefundRate0" ] = f3;
format_map["SalesLoadRefundRate1" ] = f3;
+ format_map["GenAcctAllocation" ] = f3;
format_map["GenAcctAllocationPercent" ] = f3;
format_map["GenAcctAllocationComplementPercent"] = f3;
@@ -515,7 +516,6 @@ ledger_evaluator Ledger::make_evaluator() const
format_map["Dumpin" ] = f1;
format_map["EndtAge" ] = f1;
format_map["External1035Amount" ] = f1;
- format_map["GenAcctAllocation" ] = f1;
format_map["GenderBlended" ] = f1;
format_map["GenderDistinct" ] = f1;
format_map["Has1035ExchCharge" ] = f1;
- [lmi-commits] [lmi] master updated (ea25cc6 -> 058e112), Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 7d7cd0d 4/9: Adjust whitespace for vertical alignment, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 3d75aa3 2/9: Rearrange headers, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 429acb9 1/9: Add missing 'pyx="values_tsv"' support, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 58b0c04 3/9: Sort columns alphabetically in TSV output, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 0593224 5/9: Reorder statements more logically, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master bb0eb2c 7/9: Favor problem-domain terminology, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 16da526 6/9: Change the format of 'GenAcctAllocation',
Greg Chicares <=
- [lmi-commits] [lmi] master 058e112 9/9: Assert a formerly implicit assumption, Greg Chicares, 2018/09/27
- [lmi-commits] [lmi] master 957fb26 8/9: Favor problem-domain terminology, Greg Chicares, 2018/09/27