Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

print: wrong rounding with implicit conversion transactions #2079

Copy link
Copy link

Description

@simonmichael
Issue body actions

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                                                                                                                                                                       
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.print

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.