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/newFromFloat-currency-panic #145

Merged

Conversation

hubarthurcoelho
Copy link
Contributor

This PR resolves issue #144 related to the application panicking when provided with an invalid or unregistered currency when using NewFromFloat.

  • Added unit tests to reproduce and confirm the issue, ensuring that the solution targets the problem accurately;
  • Updated NewFromFloat to instantiate a currency in the same manner as New, defaulting to a standard currency configuration if the specified currency is not recognized.

@Rhymond Rhymond merged commit d338884 into Rhymond:master Apr 12, 2024
4 checks passed
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.

None yet

2 participants