Skip to content

Commit

Permalink
use math floor instead of math round to avoid 100% but not completed …
Browse files Browse the repository at this point in the history
…topics
  • Loading branch information
bellangerq committed Nov 21, 2024
1 parent f33682a commit 9b175af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confiture-web-app/src/pages/audit/AuditGenerationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const topics = computed(() => {
return {
title: topic.topic,
number: topic.number,
value: Math.round((testedCount / relevantCount) * 100)
value: Math.floor((testedCount / relevantCount) * 100)
};
})
);
Expand Down

0 comments on commit 9b175af

Please sign in to comment.