-
Notifications
You must be signed in to change notification settings - Fork 42
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
Feature request: Allow underscores in amounts #61
Comments
@qjcg Supporting this would make everything incompatible with regular ledger files and other programs. I'd argue against this. Perhaps supporting commas or decimals as per international money standards might make sense but this would break the ledger plain-text format, I believe. |
@wakatara I'm with you on wanting to keep the format compatible with other ledger-related tools. To support that, commands like On the pro side here is all of the prior art across programming languages (e.g. Go, Rust, Python, many others linked above) and markup languages (e.g. TOML). It's a very popular approach where numeric values need to be maximally readable at a glance in text-based formats. |
This is an interesting idea. I took a look at the original ledger, and it doesn't look like it's supported, and it doesn't appear anyone has asked for it. hledger did have an issue opened, but the devs decided against it. Not sure what I want to do. I'll think about it. |
Allowing amounts to include underscores would be very helpful for readability.
See:
The text was updated successfully, but these errors were encountered: