Closed
Bug 1953073
Opened 1 year ago
Closed 1 year ago
Calculator: Adjust Formatting Rules
Categories
(Firefox :: Address Bar, enhancement, P2)
Firefox
Address Bar
Tracking
()
VERIFIED
FIXED
138 Branch
People
(Reporter: yazan, Assigned: yazan)
References
Details
(Whiteboard: [sng])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
Since we are using scientific notation for large numbers, we don't need to display comma/period thousands formatting for calculator results.
We should also modify the current max significant figures rule, which will resolve https://bugzilla.mozilla.org/show_bug.cgi?id=1954066.
| Assignee | ||
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P2
Updated•1 year ago
|
Whiteboard: [sng]
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Summary: Calculator: Comma Formatting Results Not Necessary → Calculator: Adjust Formatting Rules
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Attachment #9472523 -
Attachment description: Bug 1953073 - Modify calc result formatting to fix issues with signficant digits and unnecessary grouping. r?daleharvey → Bug 1953073 - Modify calc result formatting to fix issues with signficant digits and unnecessary grouping. r?jteow
Pushed by yalmacki@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34cbfeb4df32
Modify calc result formatting to fix issues with signficant digits and unnecessary grouping. r=fluent-reviewers,urlbar-reviewers,bolsson,jteow
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
| Assignee | ||
Comment 4•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D241869
Updated•1 year ago
|
Attachment #9472869 -
Flags: approval-mozilla-beta?
Comment 5•1 year ago
|
||
beta Uplift Approval Request
- User impact if declined: Users may see incorrect calculations with large numbers
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Ensure 1000000000 + 2 and all calculations are correctly performed.
- Risk associated with taking this patch: Low
- Explanation of risk level: This patch only changes certain formatting rules to prevent incorrect calculations in certain scenarios, and to improve readability/consistency of results.
- String changes made/needed: I've added a new string, but it consists of only symbols/numbers, and would be the same for most locales
- Is Android affected?: no
Flags: qe-verify+
Updated•1 year ago
|
Attachment #9472869 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•1 year ago
|
status-firefox137:
--- → fixed
Updated•1 year ago
|
QA Whiteboard: [qa-triaged]
Comment 7•1 year ago
•
|
||
Reproduced this issue on an affected Nightly build from 2025-03-11, on Windows 11.
Verified as fixed on the latest Nightly 138.0a1 (20250319204742) and latest Beta 137.0b8 (20250319094417) on Windows 11, macOS 11, Ubuntu 22. Large numbers are now displayed correctly without unnecessary grouping, using proper formatting and scientific notation when needed and the calculations are accurate.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•