diff --git a/community/lms/widgets/CourseCard.html b/community/lms/widgets/CourseCard.html index 43fe45e9..4de60d41 100644 --- a/community/lms/widgets/CourseCard.html +++ b/community/lms/widgets/CourseCard.html @@ -57,7 +57,7 @@ {% if avg_rating %} - {{ avg_rating }} + {{ frappe.utils.flt(avg_rating, frappe.get_system_settings('float_precision') or 3) }} {% endif %} diff --git a/community/www/courses/course.html b/community/www/courses/course.html index 645978a5..67e22327 100644 --- a/community/www/courses/course.html +++ b/community/www/courses/course.html @@ -201,7 +201,7 @@ {% if avg_rating %}
- {{ avg_rating }} Rating + {{ frappe.utils.flt(avg_rating, frappe.get_system_settings('float_precision') or 3) }} Rating
{% endif %}