We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is more of a feature request for a missing splitting into parts functionality, similar to the way it is done here https://github.com/govalues/money
// Split returns a slice of amounts that sum up to the original amount, // ensuring the parts are as equal as possible.
Any chance this functionality can be added to the library please?
The text was updated successfully, but these errors were encountered:
To be honest, in a decade of writing eCommerce applications, I've never had the use case for a Split method. Would love to hear yours?
In general, I'm not against having this logic in bojanz/currency. Are you interested in sending in a PR?
Sorry, something went wrong.
To be honest, in a decade of writing eCommerce applications, I've never had the use case for a Split method. Would love to hear yours? In general, I'm not against having this logic in bojanz/currency. Are you interested in sending in a PR?
For example, a store order, split into three parts which customer then can pay in three installments over three month.
In regards to a PR, I wont be able to work on it at the moment.
No branches or pull requests
This is more of a feature request for a missing splitting into parts functionality, similar to the way it is done here https://github.com/govalues/money
Any chance this functionality can be added to the library please?
The text was updated successfully, but these errors were encountered: