Skip to content

Commit 6f508a5

Browse files
committed
Round confidence to the nearest digit
1 parent b5241d3 commit 6f508a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/pages/MissionPage/AnalysisResultView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const AnalysisResultDialogView = ({ selectedAnalysisId, tasks }: Inspecti
106106
<StyledInfoContent>
107107
<Typography variant="caption">{TranslateText('Confidence') + ':'}</Typography>
108108
<Typography variant="body_short">
109-
{currentTask.inspection.analysisResult.confidence + '%'}
109+
{Math.round(currentTask.inspection.analysisResult.confidence * 100) + '%'}
110110
</Typography>
111111
</StyledInfoContent>
112112
)}

0 commit comments

Comments
 (0)