Hi folks,
I have some stock purchases that I have specified using total costs.
Because of not-round-numbers, I'm having trouble specifying the lot so I
can sell it cleanly.
Here's an example:
2023/11/01 * Buy Shares
Assets:401K 6.456 FSKAX @@ $734.43
OK, understand. When the bug was present, I was able to have the same files
and run either ledger or hledger depending on the need, I guess I will have
to find a way to make them both work together again.
Thanks Martin for your time and help.
Antonio M.
El lunes, 20 de noviembre de 2023 a las
There was a bug in earlier version that the format info in commodity
directives were not properly validated.
1,234. is not a valid number in ledger.
Just try this:
2023-01-01 * "Test"
Assets:Investments 1,100. GBP
Assets:Cash-1,100.00 GBP
Related
I tested the commodity declaration in Ledger 3.2.1-20200518, and there it
is valid, just wondering if there was a reason to stop supporting that
format.
El lunes, 20 de noviembre de 2023 a las 21:50:49 UTC-5, Martin Michlmayr
escribió:
> * Antonio MCh [2023-11-20 15:35]:
> > commodity JPY
>
* Antonio MCh [2023-11-20 15:35]:
> commodity JPY
> format 1,234. JPY
>
> Note that I have a dot '.' to indicate the commodity does not uses
> decimals. This is recommended by hledger, but when I try it in ledger
> (Ledger 3.3.2-20230330) I get the error:
hledger and ledger are
Hello! I'm having a similar issue, or at least the error message is the
same:
I'm trying to add a commodity like this:
commodity JPY
format 1,234. JPY
Note that I have a dot '.' to indicate the commodity does not uses
decimals. This is recommended by hledger, but when I try it in
Hi everyone! I think I'm having the same/similar issue.
I try to declare the following commodity:
commodity JPY
format 1,234. JPY
Note that I include a dot at the end of the amount, this is to indicate
the commodity does not uses decimals. This is compatible with hledger, but
with