mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-16 07:04:23 -05:00
[GH-ISSUE #3053] [Feature] Show the full decimal places when editing regardless the "Hide decimal places" setting, and defer rounding decimal amount when editing/adding transactions when using "Hide decimal places" #50354
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andriantoeff on GitHub (Jul 14, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/3053
Verified feature request does not already exist?
💻
Pitch: what problem are you trying to solve?
To my knowledge, decimal amounts along with its fractional part are saved fully to the database (to a limited precision length).
Rounding happens when (but not limited to):
The scope of this feature request is the handling of decimal places when using the "Hide decimal places" setting.
When using "Hide decimal places", editing rows with Payment/Deposit value that is originally stored with significant fraction value (e.g. 5.5) should reveal the original decimal value instead of the rounded value (e.g. should show 5.5 instead of 6). The user then should be able to edit the amount to another fraction value if needed. And the displayed rounding should only happen after Adding/Saving the row (for viewing back the add/edit result), not just after the field goes out of focus.
For consistency, adding rows (while still in the add/edit mode) should also behave the same.
Rationale:
Describe your ideal solution to this problem
The web app may need to track the real amount and the rounded amount for each transactions (in memory). The rounded amount is primarily used for displaying, while the real amount is used for saving to database, editing, sorting, aggregating/summing up/reporting.
In the future (I hope), the rounded amount may also be used to store a more shortened version of the amount, e.g. display 123456.78 as "123K".
Teaching and learning
The behavior should be a standard with no or minimal explanation to end users.
But, behavior regarding rounding should be documented for future developers' guide:
@github-actions[bot] commented on GitHub (Jul 14, 2024):
✨ Thanks for sharing your idea! ✨
This repository uses lodash style issue management for enhancements. That means enhancement issues are automatically closed. This doesn’t mean we don’t accept feature requests, though! We will consider implementing ones that receive many upvotes, and we welcome contributions for any feature requests marked as needing votes (just post a comment first so we can help you make a successful contribution).
The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+
Don’t forget to upvote the top comment with 👍!
@github-actions[bot] commented on GitHub (Oct 5, 2025):
🎉 This feature has been implemented in #5808 and will be released in the next version. Thanks for sharing your idea! 🎉