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

NaN bij gemiddeld cijfer #68

Open
nath-3 opened this issue Nov 21, 2023 · 2 comments
Open

NaN bij gemiddeld cijfer #68

nath-3 opened this issue Nov 21, 2023 · 2 comments

Comments

@nath-3
Copy link

nath-3 commented Nov 21, 2023

Zie screenshot hieronder. Dit is bij een vak met alleen één 0 keer tellend cijfer (totale weging is dus 0)

Screenshot_20231121-174357_Gemairo - Stats voor Magister.jpg

@domiehomie
Copy link

Dit lijkt me redelijk expected behavior toch? Het gemiddelde van 0 cijfers berekenen kan immers niet.

@nath-3
Copy link
Author

nath-3 commented Nov 21, 2023

Da's waar, maar "NaN" ziet er toch vreemd uit. Ik zou eerder een streepje, kruisje oid verwachten, want NaN duidt meestal op een fout in de code en kan voor verwarring zorgen lijkt mij.

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

No branches or pull requests

2 participants