The numbers reported do sum up exactly to 0. This is probably due to some of the postings being auto-generated from a rule, with some arithmetic operations resulting in fractions not being displayed.
(The correct way to handle this would be to specify what the precision (rounding) of those operations should be.) On Sun, Sep 28, 2014 at 11:53 PM, Craig Earls <[email protected]> wrote: > Unless your tax rates are irrational numbers, like a multiple of pi, > then they are ratios of integers. That is a simple mathematical fact. > > I am still not clear where where you are having your rounding > problems. Is it because you are pulling numbers off of an invoice > that themselves don't balance exactly? Are you asking if ledger could > be "looser", like allow a transaction to be valid even if it off by a > small amount? > > On Sat, Sep 27, 2014 at 3:43 AM, o1bigtenor <[email protected]> wrote: > > > > > > On Fri, Sep 26, 2014 at 10:16 AM, Craig Earls <[email protected]> > wrote: > >> > >> Internally ledger does not need to round because it uses exact ratios of > >> integers. Rounding only occurs when the amounts are formatted for > display. > >> If you could post the transaction that you are using it would help. The > >> verbal description of the transaction doesn't have enough detail. > >> > > > > 2013.01.26 Costco > > Expenses: Membership: xxxxxxxxxxxx $ > 55.00 > > Expenses: GST -- business: xxxxxxxxxxxxx $ > 2.75 > > Expenses: xxxxxxxxxxx: xxxxxxxxxxxx $ > 36.36 > > Expenses: GST -- personal: xxxxxxxxxxxxx $ > 1.70 > > Expenses: xxxxxx: xxxxxxxxxxxxxxxxx $ > 53.48 > > Expenses: GST -- personal: xxxxxxxxxxxxx $ > 2.50 > > Expenses: xxxxxxxxxxxx: xxxxxxxxxxxxx $ > 7.80 > > Expenses: GST -- personal: xxxxxxxxxxxxx $ > 0.36 > > Expenses: xxxxxxxxxxxx: xxxxxxxxxxxxxx $ > 15.50 > > Expenses: GST -- personal: xxxxxxxxxxxxx $ > 0.72 > > Expenses: xxxxxxxxx: xxxxxxxxxxxxxxxxxxx $ 10.69 > > Expenses: GST -- personal: xxxxxxxxxxxxxx $ > > 0.50 > > Expenses: Food -- home: xxxxxxxxxxxxxx $ > > 75.80 > > Assets: xxxxxxxxxx: 1002.90.00.50 $ > > -263.16 > > > > > > Some of the items that have GST (federal sales tax) charges have also > (here > > included in the cost) a provincial sales tax. > > > > The taxes do NOT result in exact ratios of integers - - - why my > question on > > rounding. > > > > Dee > >> > >> > >> On Friday, September 26, 2014, o1bigtenor <[email protected]> wrote: > >>> > >>> Greetings > >>> > >>> With huge thanks for the assistance so far. > >>> > >>> Have started doing the entries and really like the way things are > >>> working. > >>> > >>> Question: > >>> > >>> In a complex invoice (4 different billing expense areas) where 1 time > >>> there is only a federal tax and the other 3 have a federal and a > provincial > >>> tax I had a calculation error. > >>> > >>> When one takes an individual item the tax I'm rounding to the nearest > >>> cent (using math rules (0.5 +/= goes up rest goes down)). The total > invoice > >>> seems to be calculated where there is an internal accuracy to a greater > >>> number of decimals which when added together results in a change in the > >>> total amount by a whole $0.01. I just changed one item to get rid of > the > >>> imbalance. > >>> > >>> Is there a way to get ledger to internally work to greater than 2 > decimal > >>> places but show only in 2 decimal places so that these kind of manual > >>> adjustments won't be as needed? > >>> > >>> I'm not remembering any major details in the documentation in this kind > >>> of expensing - - - have I missed something important that is already > there? > >>> (Please be easy on me when you kick my shins if the information is > there and > >>> I just haven't spotted it!) > >>> > >>> (The plethora of taxes is the issue and I would love if that were > changed > >>> but realistically it will be easier to change software than government > bloat > >>> and overspending!!!) > >>> > >>> TIA > >>> > >>> Dee > >>> > >>> -- > >>> > >>> --- > >>> 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. > >> > >> > >> > >> -- > >> Craig, Corona De Tucson, AZ > >> enderw88.wordpress.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. > > > > > > -- > > > > --- > > 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. > > > > -- > Craig, Corona De Tucson, AZ > enderw88.wordpress.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. > -- --- 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.
