* John Wiegley <[email protected]> [2014-07-24 04:35]: > Now, where can rounding come into play here? There are several places: > > - Round postings with extra precision right away. > - Round after multiplying the cost by the quantity > - Round after multiplying the present value by the quantity > - Whenever any two postings are summed, round the sum, thereby producing a > rather lossy rounding of the account balance (in all cases). > - Round the account total after summing the rationals internally. > > No one of these methods is universally correct. Some system may require one > or more.
John, what's the best way to move forward from where we are? Would more use scenarios and test cases help, so we can get a better idea of where/when we need rounding. Since we started discussing rounding, I've definitely came across several situations that I hadn't thought of before. -- Martin Michlmayr http://www.cyrius.com/ -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
