Get your own Django server Result Size: 625 x 565
template.html
views.py
 
<!DOCTYPE html>
<html>
<body>

<p>{{ 7.122489|floatformat:2 }}</p>
<p>{{ 7.1|floatformat:2 }}</p>
<p>{{ 7|floatformat:2 }}</p>

</body>
</html>                  
127.0.0.1:8000/testing