[PR #6493] [MERGED] fix: Proper formatting of the Formula Card #64548

Closed
opened 2026-05-11 21:40:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6493
Author: @MatthiasBenaets
Created: 12/26/2025
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @MatissJanis

Base: master ← Head: fix/formula-card-formatting


📝 Commits (2)

  • ad78e3a fix: Proper formatting of the Formula Card
  • be5a46b [autofix.ci] apply automated fixes

📊 Changes

2 files changed (+16 additions, -1 deletions)

View changed files

📝 packages/desktop-client/src/components/reports/FormulaResult.tsx (+10 -1)
➕ upcoming-release-notes/6493.md (+6 -0)

📄 Description

Summary:
I noticed the Formula Card would not adhere to the formatting set in the settings.
This should fix it.

Changes:
Use useFormat to format the result.
amountToInteger is used to multiply the value, since it will otherwise display incorrect values.

Summary by CodeRabbit

  • Enhancements
    • Improved numeric value formatting in the Formula Card to display with proper financial number formatting for enhanced readability.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 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/6493 **Author:** [@MatthiasBenaets](https://github.com/MatthiasBenaets) **Created:** 12/26/2025 **Status:** ✅ Merged **Merged:** 1/5/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `fix/formula-card-formatting` --- ### 📝 Commits (2) - [`ad78e3a`](https://github.com/actualbudget/actual/commit/ad78e3ac7be8e407c1a73a4d50ab243f6ddd54a6) fix: Proper formatting of the Formula Card - [`be5a46b`](https://github.com/actualbudget/actual/commit/be5a46ba9bbb827002dc66daeed81c1cf9379bf8) [autofix.ci] apply automated fixes ### 📊 Changes **2 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/reports/FormulaResult.tsx` (+10 -1) ➕ `upcoming-release-notes/6493.md` (+6 -0) </details> ### 📄 Description Summary: I noticed the Formula Card would not adhere to the formatting set in the settings. This should fix it. Changes: Use `useFormat` to format the result. `amountToInteger` is used to multiply the value, since it will otherwise display incorrect values. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Enhancements** * Improved numeric value formatting in the Formula Card to display with proper financial number formatting for enhanced readability. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <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-05-11 21:40:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#64548