Skip to content
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

[Bug]: Updating transaction fields while "Hide decimal places" is active changes the raw value of payment #3294

Open
2 tasks done
apturtia opened this issue Aug 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@apturtia
Copy link

apturtia commented Aug 20, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

  1. Disable the "Hide decimal places" setting.
  2. Enter a transaction with a payment of 9.99.
  3. Enable the "Hide decimal places" setting and verify that the visible transaction value is correctly rounded to 10 (the raw payment value remains 9.99).
  4. Edit the transaction by changing the payee, notes, or category without modifying the payment field.
  5. Disable the "Hide decimal places" setting.
  6. The transaction now shows a payment of 10.00.

I would assume that the "Hide decimal places" setting should affect only the displayed values and not the actual values stored in the state.

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Firefox

Operating System

Windows 11

@apturtia apturtia added the bug Something isn't working label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant