Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print: wrong rounding with implicit conversion transactions #2079

Closed
simonmichael opened this issue Aug 31, 2023 · 0 comments
Closed

print: wrong rounding with implicit conversion transactions #2079

simonmichael opened this issue Aug 31, 2023 · 0 comments
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. print

Comments

@simonmichael
Copy link
Owner

simonmichael commented Aug 31, 2023

Since 1.21, hledger print preserves all decimal digits in amounts (#931) - except in implicit conversion transactions like the following, where the commodity display style causes it to round inappropriately:

commodity A 1000.

2023-01-01
    f       A1.5
    g       A1.5
    c      B-3
$ hledger print                                                                                                                                                                         
2023-01-01                                                                                                                                                                                  
    f             A 2                                                                                                                                                                       
    g             A 2                                                                                                                                                                       
    c             B-3                                                                                                                                                                       
@simonmichael simonmichael added A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. print and removed A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. labels Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. print
Projects
None yet
Development

No branches or pull requests

1 participant