[PR #2421] Fix ofx amount parsing for longer decimal places #4296

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

Original Pull Request: https://github.com/actualbudget/actual/pull/2421

State: closed
Merged: Yes


Fixes #2418

This PR enhances the parseOFX function so it returns a number for amounts. This makes the rest of the app skip any additional number parsing attempts.

After this fix OFX imports should work again correctly when in the OFX file instead of 2 decimal places some other number of decimals are provided.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2421 **State:** closed **Merged:** Yes --- Fixes #2418 This PR enhances the ```parseOFX``` function so it returns a ```number``` for amounts. This makes the rest of the app skip any additional number parsing attempts. After this fix OFX imports should work again correctly when in the OFX file instead of 2 decimal places some other number of decimals are provided.
GiteaMirror added the pull-request label 2026-02-28 20:54:10 -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#4296