diff --git a/openedx/features/sdaia_features/course_progress/utils.py b/openedx/features/sdaia_features/course_progress/utils.py index e5f68674a4f..b618ac03ec5 100644 --- a/openedx/features/sdaia_features/course_progress/utils.py +++ b/openedx/features/sdaia_features/course_progress/utils.py @@ -18,5 +18,5 @@ def get_user_course_progress(user, course_key): locked_count = completion_summary.get('locked_count', 0) total_count = complete_count + incomplete_count + locked_count - completion_percentage = (complete_count / total_count) * 100 + completion_percentage = round((complete_count / total_count) * 100) return completion_percentage \ No newline at end of file