Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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 %}
 
PREVIOUS NEXT
Tagged: #multiply #django #template
ADD COMMENT
Topic
Name
1+7 =