lmi-commits
[Top][All Lists]
Advanced

[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;



reply via email to

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