tbm / test

0 stars 0 forks source link

Precision for rendering is broken for some subsets of amounts #24

Open tbm opened 9 years ago

tbm commented 9 years ago

Original report by Martin Blais (Bitbucket: blais, GitHub: blais).


#!text

  - BUG: Precision for rendering is broken for some subsets of amounts (these
    are 1.20 USD amounts):

      beancount> select date, payee, narration, position where account ~
      'Expenses:Taxes:TY2015:US:SDI';
         date                          narration                      posit
      ---------- - --------------------------------------------------- -----
      2015-01-02   GOOGLE INC       PAYROLL / GOOGLE INC       PAYROLL 1 USD
      2015-01-16   GOOGLE INC       PAYROLL / GOOGLE INC       PAYROLL 1 USD
      2015-01-23   GOOGLE INC       PAYROLL / GOOGLE INC       PAYROLL 0 USD

     This one works:

       beancount> select date, payee, narration, position where account ~
       'Expenses:Taxes:TY2015:US:SDI' and narration ~ 'GOOGLE';
tbm commented 9 years ago

Original comment by Martin Blais (Bitbucket: blais, GitHub: blais).


#!text

  - BUG: Precision for rendering is broken for some subsets of amounts (these
    are 1.20 USD amounts):

      beancount> select date, payee, narration, position where account ~
      'Expenses:Taxes:TY2015:US:SDI';
         date                          narration                      posit
      ---------- - --------------------------------------------------- -----
      2015-01-02   GOOGLE INC       PAYROLL / GOOGLE INC       PAYROLL 1 USD
      2015-01-16   GOOGLE INC       PAYROLL / GOOGLE INC       PAYROLL 1 USD
      2015-01-23   GOOGLE INC       PAYROLL / GOOGLE INC       PAYROLL 0 USD

     This one works:

       beancount> select date, payee, narration, position where account ~
       'Expenses:Taxes:TY2015:US:SDI' and narration ~ 'GOOGLE';