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

add: wrong number style in default amounts, can't balance transaction #2645

Copy link
Copy link

Description

@tmssngr
Issue body actions
>hledger.exe setup
Checking your hledger setup..
Legend: good, neutral, unknown, warning

hledger
'"ver' is not recognized as an internal or external command,
operable program or batch file.
* is running on                                 windows on x86_64
* is built with a supported compiler/RTS   yes  ghc 9.14.1, using threaded RTS
* is a native binary for this machine ?    yes  x86_64
* is a released version ?                  yes  hledger 1.52.1-g3834a163b-20260428, windows-x86_64
* is up to date ? checking latest...       yes  latest is 1.52.1, 1.52.1 is installed
* is installed in PATH (this version) ?    yes  E:\hledger\hledger.exe
* has a system text encoding configured ?  yes  CP437, data files must use this encoding
* has a user config file ?                  no
* has a local config file ?                 no

terminal
* the NO_COLOR variable is defined ?        no
* --color is configured by config file ?    no
* hledger will use color by default ?      yes
* the PAGER variable is defined ?           no
* --pager is configured by config file ?    no
* hledger will use a pager when needed ?    no  no pager was found
* box-drawing chars are used by default ?   no  you can use --pretty to enable them

journal
* the LEDGER_FILE variable is defined ?     no
* a default journal file is readable ?      no  C:\Users\User\.hledger.journal:
data file "C:\Users\User\.hledger.journal" was not found.
Please create it first, eg with "hledger add" or a text editor.
Or, specify an existing data file with -f or $LEDGER_FILE.

In my hledger file I have following line

commodity 1.000,00

I enter following data:

Date [2026-06-09]: 2026-02-25
Description: ATKK
Using this similar transaction for defaults:
2026-01-12 ATKK
    assets:Giro                   -171,36
    expenses:Steuerbuero           144,00
    liability:USt                   27,36

Account 1 [assets:Giro]:
Amount  1 [-171,36]: -1231,65
Account 2 [expenses:Steuerbuero]:
Amount  2 [1231,65]: 1035
Account 3 [liability:USt]:
Amount  3 [196.65]:
Account 4: .
Please enter more postings to balance the transaction.
Account 4:

He calculates correct the 196.65, but it seems to treat it wrong internally.

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.addaffects4-manyAffects potentially a significant number of users.Affects potentially a significant number of users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.

    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.