How to do math in a Django template? December 23, 2022 by Tarik You can use the add filter: {{ object.article.rating_score|add:"-100" }}