how to multiply in django template

Solutions on MaxInterview for how to multiply in django template by the best coders in the world

showing results for - "how to multiply in django template"
Mariana
27 Aug 2020
1You can use widthratio builtin filter for multiplication and division.
2
3To compute A*B: {% widthratio A 1 B %}
4
5To compute A/B: {% widthratio A B 1 %}