refactor(probation): replace Math.round with Math.trunc
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m50s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-07-13 17:57:13 +07:00
parent 4dfc9bf4d6
commit 34d39c7215
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ const score5 = computed(() => {
Number(other_training_percent.value)) /
(isSelectionPartfour.value ? 4 : 3);
const total = Math.round(rawTotal);
const total = Math.trunc(rawTotal);
develop_result.value = total > 60 ? 1 : 0;

View file

@ -255,7 +255,7 @@ const score5 = computed(() => {
Number(other_training_percent.value)) /
(isSelectionPartfour.value ? 4 : 3);
const total = Math.round(rawTotal);
const total = Math.trunc(rawTotal);
develop_result.value = total > 60 ? 1 : 0;