Hi,

I'm currently using these commands to get

Balance sheet:

SELECT root(account, 2), sum(position)
  FROM OPEN ON 2023-01-01 CLOSE ON 2024-01-01 CLEAR
  WHERE not account ~ 'Income|Expenses'
  GROUP BY 1 ORDER BY 1;

Income statement:

SELECT root(account, 2), sum(position)
  FROM OPEN ON 2023-01-01 CLOSE ON 2024-01-01
  WHERE account ~ 'Income|Expenses'
  GROUP BY 1 ORDER BY 1;

Everything adds up (of course).

   - The problem is, when I round all the numbers to the nearest dollar, 
   things understandably no longer add up (there's an error of plus/minus one 
   dollar).
   - Is there a way to get Beancount to automatically round all the numbers 
   first to the nearest dollar, and only then calculate any byproducts like 
   Equity:Earnings and Equity:Conversions?


Thanks,
DA

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/1afd4dfa-c8c0-4916-afdb-7e9deb00ce8an%40googlegroups.com.

Reply via email to