-
Notifications
You must be signed in to change notification settings - Fork 435
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
Poll rounding error #11867
Comments
Nvm says 13 votes, so should be: The problem is if we use "normal" rounding 2 options with .5 % would both round up, so: 40.5 % Sums to 101 % total. |
You could round all but the last number and use |
We don't round it but just show int number indeed
|
This makes the result depending on the order of options and may increase an option that was far from new value when there are options with fewer remainders. Like having I'd say a proper method should result in:
I think the largest remainder methods may work here with a small adjustment to respect equal values. |
How to use GitHub
Steps to reproduce
Expected behaviour
Tell us what should happen
Actual behaviour
Desktop
The math is not mathing.
69+30=99
Talk app
I don't currently have access to the server but I can get access if you need me to.
Talk app version: (see apps admin page:
/index.php/settings/apps
)Custom Signaling server configured: yes/no and version (see additional admin settings:
/index.php/index.php/settings/admin/talk#signaling_server
)Custom TURN server configured: yes/no (see additional admin settings:
/index.php/settings/admin/talk#turn_server
)Custom STUN server configured: yes/no (see additional admin settings:
/index.php/settings/admin/talk#stun_server
)Browser
Microphone available: n/a
Camera available: n/a
Operating system: Arch Linux, iOS, Android
Browser name: Native App
Browser version: respectively latest versions
Browser log
n/a
Server configuration
I don't currently have access to the server but I can get access if you need me to.
Operating system: Ubuntu/RedHat/...
Web server: Apache/Nginx
Database: MySQL/Maria/SQLite/PostgreSQL
PHP version: 8.0/8.1/8.2
Nextcloud Version: (see admin page)
List of activated apps:
Nextcloud configuration:
Server log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: