How do I display a rounded version of a number in my Django/Python template?

How do I display a rounded version of a number in my Django/Python template?

I'm using Django and Python 3.7. In my template I have this

I'm using Django and Python 3.7. In my template I have this

{{ round(articlestat.votes) }}

which results in teh error

Could not parse the remainder: '(articlestat.votes)' from 'round(articlestat.votes)'

Is there a way to display a rounded version of my number without creating an additional @property method in the model? It just seems like overkill to do a method every time I want the data formatted a little differently.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Python Django Tutorial | Django Course

🔥Intellipaat Django course: https://intellipaat.com/python-django-training/ 👉This Python Django tutorial will help you learn what is django web development &...

Developing Restful APIs with Python, Django and Django Rest Framework

This article is a definitive guide for starters who want to develop projects with RESTful APIs using Python, Django and Django Rest Framework.