Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vote/election results: integrate new function to configure amount of decimal places #2973

Open
MSoeb opened this issue Nov 3, 2023 · 1 comment
Labels
enhancement General enhancement which is neither bug nor feature needs discussion
Milestone

Comments

@MSoeb
Copy link

MSoeb commented Nov 3, 2023

Description: Currently the vote or election results have a fix number of decimal places. This should be improved.

What is needed:
A new setting per meeting should be integrated in the motion menu, which grants the admin the possibility to configure the amount of decimal places. The setting should be set for all results and NOT configurable per single vote/election.

Open question: How much digits should be available as option.

@MSoeb MSoeb added needs discussion enhancement General enhancement which is neither bug nor feature labels Nov 3, 2023
@MSoeb MSoeb added this to the 4.2 milestone Nov 3, 2023
@MSoeb MSoeb changed the title Vote/election results: integrate new function for decimal places Vote/election results: integrate new function to configure amount of decimal places Nov 3, 2023
@luisa-beerboom
Copy link
Member

The backend currently only supports exactly 6 decimal places. No variability, especially no dynamic changes in the running application.

If this is to be reflected in the backend, it would require profound changes to the system. While that wouldn't necessarily be a bad thing and may prove to be practical in the long run, it would require a lot of planning and we should ask ourselves if this issue is worth that effort.

Alternative:
When we limit the setting to only accept the numbers 0-6, it would probably be possible to change the client so that it rounds the actual number to the correct amount of decimal places, the real decimal values would still be present in the backend though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General enhancement which is neither bug nor feature needs discussion
Projects
None yet
Development

No branches or pull requests

2 participants