Problem
This occurs when splitting an expense that is not in the group's main currency, and using the uneven - by amount split option.
If you enter the original currency (as I expect most users would), it often leads to some rounding and a few missing cents in the total.
Paid amount
Split amounts
Solution
To the user, it's probably unclear that the error occurs because the converted total is not correct. It would be good to let the user know that (if they are converting the amounts) the converted total should be correct and what the remaining amount is.
This could also become even more useful if there's a button/link that automatically divides the remainder among everyone. This button would only show up if the amount is small enough, less than 25 of the currency's minor units for example.
Implementation
There is already a const detail in the code which is currently unused. This could be adapted (using the translation feature) to guide the user in fixing the error.
Problem
This occurs when splitting an expense that is not in the group's main currency, and using the uneven - by amount split option.
If you enter the original currency (as I expect most users would), it often leads to some rounding and a few missing cents in the total.
Paid amount
Split amounts
Solution
To the user, it's probably unclear that the error occurs because the converted total is not correct. It would be good to let the user know that (if they are converting the amounts) the converted total should be correct and what the remaining amount is.
This could also become even more useful if there's a button/link that automatically divides the remainder among everyone. This button would only show up if the amount is small enough, less than 25 of the currency's minor units for example.
Implementation
There is already a
const detailin the code which is currently unused. This could be adapted (using the translation feature) to guide the user in fixing the error.