diff options
author | hr-98 <hannesruscher98@gmail.com> | 2022-12-08 02:47:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 10:47:47 +0800 |
commit | cf27403e189f674d9a1e02cb71bc1ac13a5ba23d (patch) | |
tree | c9f14295261b53bb011fdb1346bf5ee879c3dc2f /models/migrations/v1_17/v213.go | |
parent | 0a85537c79b65f3b10a4b66265a23a8de46a2e43 (diff) | |
download | gitea-cf27403e189f674d9a1e02cb71bc1ac13a5ba23d.tar.gz gitea-cf27403e189f674d9a1e02cb71bc1ac13a5ba23d.zip |
Round language stats percentage using largest remainder (#22026)
Fix #22023
I've changed how the percentages for the language statistics are rounded
because they did not always add up to 100%
Now it's done with the largest remainder method, which makes sure that
total is 100%
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'models/migrations/v1_17/v213.go')
0 files changed, 0 insertions, 0 deletions