Closed youngcw closed 1 month ago
Name | Link |
---|---|
Latest commit | 273b84f5293628c2b80962e38d327da3131079c6 |
Latest deploy log | https://app.netlify.com/sites/actualbudget/deploys/670ed43eeab775000816a312 |
Deploy Preview | https://deploy-preview-3676.demo.actualbudget.org |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.
As this PR is updated, I'll keep you updated on how the bundle size is impacted.
Total
Files count | Total bundle size | % Changed |
---|---|---|
9 | 5.34 MB | 0% |
Changeset
No files were changed
Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.
As this PR is updated, I'll keep you updated on how the bundle size is impacted.
Total
Files count | Total bundle size | % Changed |
---|---|---|
1 | 1.27 MB | 0% |
Changeset
No files were changed
The pull request introduces changes to the looselyParseAmount
function located in the packages/loot-core/src/shared/util.ts
file. The primary modification involves updating the regular expression that defines the valid decimal format for input amounts. The range for the number of decimal places has been adjusted from 5-9 to 4-9 decimal places. This change is intended to refine the parsing logic for amounts, potentially addressing issues related to the incorrect interpretation of decimal values. The updated regular expression is now /[.,]([^.,]{4,9}|[^.,]{1,2})$/
. Importantly, there are no alterations to the signatures of any exported or public entities, and the overall structure and functionality of other functions within the file remain intact.
Objective | Addressed | Explanation |
---|---|---|
Adjust the parsing logic to correctly handle decimal places in amounts (3638) | ✅ |
:sparkles: Merged
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
fixes #3638
Still ignores 3 decimal places since that would break things for lots of people. I should have allowed this before, but I didn't know if any banks actually exported 4 places. I guess we know now.