lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 64b849b 1/4: Mark a PDF numeric-scaling conce


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 64b849b 1/4: Mark a PDF numeric-scaling concern
Date: Fri, 9 Mar 2018 20:39:55 -0500 (EST)

branch: master
commit 64b849b571536913081cbe91b9d05d732bbb31b8
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Mark a PDF numeric-scaling concern
---
 ledger_base.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ledger_base.cpp b/ledger_base.cpp
index e76a3cc..54659da 100644
--- a/ledger_base.cpp
+++ b/ledger_base.cpp
@@ -306,6 +306,8 @@ LedgerBase& LedgerBase::PlusEq
 //   1000000000.0 (max width)
 //   and 1.0E-18 (highest number we translate to words)
 // and make them variables.
+// PDF !! This seems not to be rigorously correct: $999,999,999.99 is
+// less than one billion, but rounds to $1,000,000,000.
 double LedgerBase::DetermineScaleFactor() const
 {
     double min_val = 0.0;



reply via email to

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