You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
暫時性的權宜之計
see varunsrin/rusty_money#103
If the PR has accepted and crate release new version,
i will revert this commit and upgrade crate to resolve this problem.
hms5232
added a commit
to hms5232/rusty_money
that referenced
this issue
May 9, 2024
If the total to be allocated cannot be divided fully, it will add remainder to each ratio which in order.
For example, we need to divide $613 to participants with $98, $92, $98, $123, $102, $92. It will be:
but if we change the order of ratios to $123, $102, $98, $98, $92, $92:
This behaviour is not fair. The remainder should be allocated by ratio size, not order.
The text was updated successfully, but these errors were encountered: