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

Closed
opened 2026-02-28 19:41:14 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @apturtia on GitHub (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

Originally created by @apturtia on GitHub (Aug 20, 2024). ### Verified issue does not already exist? - [X] I have searched and found no existing issue - [X] 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
GiteaMirror added the user interfacetransactionsbug labels 2026-02-28 19:41:15 -06:00
Author
Owner

@andriantoeff commented on GitHub (Dec 9, 2024):

Possible solution: #3053

@andriantoeff commented on GitHub (Dec 9, 2024): Possible solution: #3053
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1348