Skip to content

Unclear why sum of amounts fails when converting currencies #411

@Petersmit27

Description

@Petersmit27

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

Image

Split amounts

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions