[PR #1144] [MERGED] Revert “Make number parsing agnostic to decimal and thousands separators” #3550

Closed
opened 2026-02-28 20:43:17 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1144
Author: @j-f1
Created: 6/16/2023
Status: Merged
Merged: 6/16/2023
Merged by: @j-f1

Base: masterHead: jed/revert-decimal-separator


📝 Commits (2)

  • 80c01f8 Revert "Make number parsing agnostic to decimal and thousands separators (#894) (#1029)"
  • 5448a25 Add release note

📊 Changes

5 files changed (+17 additions, -128 deletions)

View changed files

📝 packages/desktop-client/e2e/page-models/account-page.js (+0 -8)
packages/loot-core/src/mocks/number-formats.ts (+0 -25)
📝 packages/loot-core/src/shared/arithmetic.test.ts (+0 -75)
📝 packages/loot-core/src/shared/arithmetic.ts (+11 -20)
upcoming-release-notes/1144.md (+6 -0)

📄 Description

This reverts #1029. As raised in #1097, the formatting chosen doesn’t work well when doing math. There may be a way to balance compatibility with multiple format styles with handling non-currency amounts correctly, but it will require some more careful consideration. Re-opens #894.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1144 **Author:** [@j-f1](https://github.com/j-f1) **Created:** 6/16/2023 **Status:** ✅ Merged **Merged:** 6/16/2023 **Merged by:** [@j-f1](https://github.com/j-f1) **Base:** `master` ← **Head:** `jed/revert-decimal-separator` --- ### 📝 Commits (2) - [`80c01f8`](https://github.com/actualbudget/actual/commit/80c01f80681820bb471b1c79d6e5303de079fee7) Revert "Make number parsing agnostic to decimal and thousands separators (#894) (#1029)" - [`5448a25`](https://github.com/actualbudget/actual/commit/5448a25a52278b2915beefedece9525ecb77e731) Add release note ### 📊 Changes **5 files changed** (+17 additions, -128 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/e2e/page-models/account-page.js` (+0 -8) ➖ `packages/loot-core/src/mocks/number-formats.ts` (+0 -25) 📝 `packages/loot-core/src/shared/arithmetic.test.ts` (+0 -75) 📝 `packages/loot-core/src/shared/arithmetic.ts` (+11 -20) ➕ `upcoming-release-notes/1144.md` (+6 -0) </details> ### 📄 Description This reverts #1029. As raised in #1097, the formatting chosen doesn’t work well when doing math. There may be a way to balance compatibility with multiple format styles with handling non-currency amounts correctly, but it will require some more careful consideration. Re-opens #894. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:43:17 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3550