Answers for "django template filter multiply"

1

how to multiply in django template

You can use widthratio builtin filter for multiplication and division.

To compute A*B: {% widthratio A 1 B %}

To compute A/B: {% widthratio A B 1 %}
Posted by: Guest on March-05-2021

Code answers related to "django template filter multiply"

Python Answers by Framework

Browse Popular Code Answers by Language