Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Allow units to be rounded automatically on purchase list #152

Open
moseschmiedel opened this issue Feb 3, 2021 · 1 comment
Open

Allow units to be rounded automatically on purchase list #152

moseschmiedel opened this issue Feb 3, 2021 · 1 comment

Comments

@moseschmiedel
Copy link
Collaborator

Provide setting for unit that it should snap to specific values on the purchase list.
For example the unit Piece makes only sense with whole numbers, so it should be automatically rounded on the purchase list.
Maybe we also want to implement a step function that specifies which values are only valid for a given unit, so one can specify a step function: x = x + 1000 so that the unit just has values divisible by 1000.

@dboehmer
Copy link
Owner

dboehmer commented Feb 3, 2021

Maybe we should have a column unit.step which defines the step for the <input> elements. Then we could have buttons to increase/decrease to next step or round mathematically on all/selected purchase list items.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants