Error: Incorrect use of thousand-mark period

119 views
Skip to first unread message

Adam

unread,
Sep 24, 2020, 4:05:29 PM9/24/20
to Ledger
Hi,

I have following record in ledger:

2020/09/04 * Transfer
Assets:Monzo        -149.73 GBP
Assets:Nest             738.00 PLN

When I run `ledger -f file.ledger reg "Assets:Nest"` I get `Error: Incorrect use of thousand-mark period`. I don't use `--decimal-comma`.

Any idea what could cause the problem?

Thanks,

Adam

Martin Michlmayr

unread,
Sep 24, 2020, 8:35:00 PM9/24/20
to ledge...@googlegroups.com
* Adam <adamf...@gmail.com> [2020-09-24 13:05]:
You're probably using , and . inconsistently somewhere.

--
Martin Michlmayr
https://www.cyrius.com/

Adam Faryna

unread,
Sep 24, 2020, 9:31:46 PM9/24/20
to Ledger
Hi,

I have following record in ledger:

```ledger-cli

2020/09/04 * Transfer
  Assets:Monzo                               -149.73 GBP
  Assets:Nest                                 738.00 PLN
```

When I run `ledger -f file.ledger reg "Assets:Nest"` I get `Error: Incorrect use of thousand-mark period`. I don't use `--decimal-comma`.

Any idea what could cause the problem?

Thanks,
Adam

Adam Faryna

unread,
Sep 25, 2020, 8:18:58 AM9/25/20
to ledge...@googlegroups.com
Thanks Martin. That was the exact cause of the problem. The error message was very confusing though.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Ledger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ledger-cli/EWPFpfETWvs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/20200925003353.GA31178%40jirafa.cyrius.com.
Reply all
Reply to author
Forward
0 new messages