diff --git a/src/logic/course.ts b/src/logic/course.ts index f6f40f9..5365537 100644 --- a/src/logic/course.ts +++ b/src/logic/course.ts @@ -256,7 +256,7 @@ export default class Course ? this.grading.weightingMap[type] : scoreMax / totalScoreMax; // Return - return {name: type, id: typeAssignments[0].typeId, weight: +weight.toFixed(2), + return {name: type, id: typeAssignments[0].typeId, weight: +(weight * 100).toFixed(2), scoreMax: scoreMax, score: score, percent: +(score / scoreMax * 100).toFixed(2)} }) }