Skip to content

Possibility to allocate with custom rounding parameter #753

Open
@Crovitche-1623

Description

@Crovitche-1623

In Switzerland, the smallest coin is CHF 0.05. It would be a good new feature to be able to allocate the amount with a custom rounding parameter. For instance by adding a parameter to the allocate function:
$amount->allocate(3, 0.05)

so the result would be :

8 / 3 = 2.65 + 2.65 + 2.70

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