Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix decimal coercion w/ file conn loading #446

Merged
merged 2 commits into from
Apr 6, 2023

Conversation

cap10morgan
Copy link
Contributor

Fixes #436 and adds tests for it. The values were already BigDecimals there (which is what the M suffix designates), so this catches those. I suppose it could also test for that first, but it's not a thing in JS and this should catch additional cases that should probably work anyway.

To help show when issue #436 is fixed
...like when loading a ledger w/ file conn. Fixes #436.
@cap10morgan cap10morgan requested a review from a team April 6, 2023 18:35
Copy link
Contributor

@dpetran dpetran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌳

@cap10morgan cap10morgan merged commit eab334f into main Apr 6, 2023
@cap10morgan cap10morgan deleted the fix/decimal-file-loading branch April 6, 2023 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Loading a ledger with decimal value transacted throws coercion error
2 participants