diff --git a/src/components/forms/EditAssignmentForm/EditAssignmentForm.js b/src/components/forms/EditAssignmentForm/EditAssignmentForm.js index 919dd8e81..4182a261f 100644 --- a/src/components/forms/EditAssignmentForm/EditAssignmentForm.js +++ b/src/components/forms/EditAssignmentForm/EditAssignmentForm.js @@ -430,7 +430,10 @@ const validate = ({ if (pointsPercentualThreshold) { const numericThreshold = Number(pointsPercentualThreshold); - if (pointsPercentualThreshold !== Math.round(numericThreshold).toString()) { + if ( + pointsPercentualThreshold.toString() !== + Math.round(numericThreshold).toString() + ) { errors['pointsPercentualThreshold'] = (