Removed decimals from export pdf

This commit is contained in:
Joao Ramos
2024-03-21 10:48:46 +00:00
parent 60ccc822b5
commit a5c1286748
3 changed files with 10 additions and 10 deletions

View File

@@ -370,7 +370,7 @@ async function post(req: NextApiRequest, res: NextApiResponse) {
studentsData={studentsData}
showLevel={showLevel}
summaryPNG={overallPNG}
summaryScore={`${(overallResult * 100).toFixed(0)}%`}
summaryScore={`${Math.floor(overallResult * 100)}%`}
groupScoreSummary={groupScoreSummary}
passportId={demographicInformation?.passport_id || ""}
/>,