diff --git a/frontend/src/components/projects/DownloadCSV.vue b/frontend/src/components/projects/DownloadCSV.vue index f668d757..4f6915c3 100644 --- a/frontend/src/components/projects/DownloadCSV.vue +++ b/frontend/src/components/projects/DownloadCSV.vue @@ -36,7 +36,7 @@ const generateCSVAndDownload = async (): Promise => { students.value ?.map((student) => { // single csv line - return `#${student.student_id},${student.last_name},${student.first_name},${student.email},${group.score * 10 / props.project.max_score},#`; + return `#${student.student_id},${student.last_name},${student.first_name},${student.email},${(group.score * 10) / props.project.max_score},#`; }) .join('\n') ?? '' );