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

🥗 Tobias: Issuing indivisible Payout#amount rounds each Payment#amount down #18

Conversation

zspencer
Copy link
Member

@zspencer zspencer commented Jan 29, 2024

I wasn't exactly sure what would happen, so I took the time to figure it out.

Apparently, the money-rails gem we use defaults to rounding down, which is the safer thing to do.

…Beneficiary` `Payment` down

I wasn't exactly sure what would happen, so I took the time to figure it
out.

Apparently, the [`money-rails` gem] we use defaults to rounding down, which is the
safer thing to do.

[`money-rails` gem]: https://github.com/RubyMoney/money-rails
@zspencer zspencer changed the title 🥗 Tobias: Confirm issuing indivisible Payout#amount rounds each `… 🥗 Tobias: Issuing indivisible Payout#amount rounds each Payment#amount down Jan 29, 2024
@zspencer zspencer merged commit 63f8184 into tobias/issuing-payouts Jan 29, 2024
3 checks passed
@zspencer zspencer deleted the tobias/issuing-payouts-round-payment-amount-down-when-indivisible branch January 29, 2024 23:07
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.

1 participant