Prior to today I have mostly used fava to do queries but have been
experimenting more with the command line.
For some reason all of my output in the command line is rounded to 1
decimal place even though the actual transactions have two decimal places.
This doesn't happen when I run queries from python scripts.
How do I fix that? (I have searched the forum and asked Gemini and other
AI and none have given me a useful answer).
Here's some output....
account SUM(posit
------------------------------------ ---------
Expenses:General:Tractor:Maintenance 166.9 USD
Expenses:General:FieldMaintenance 380.0 USD
The actual amounts in the Beancount file are $166.87 and $379.99
Here's one of the transactions...
2025-08-21 ! "Amazon"
Assets:Checking -379.99 USD
Expenses:General:FieldMaintenance 379.99 USD
and when I get a total of the two transactions.
SUM(posit
---------
546.9 USD
Please advise.
--
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 visit
https://groups.google.com/d/msgid/beancount/6af77a41-f449-4320-b566-aac5b279a803n%40googlegroups.com.