title: How to multiply two variables together in HTML template DJANGO
body: <p>I have this page that lists various info on a specific stock including orders that have been placed on that specific item. I would like to display how much money the user of this system would get from that specific order.</p>
  <pre><code>&lt;table class='table'&gt;
          &lt;thead&gt;
            &lt;tr&gt;
              &lt;th&gt;ORDER ID&lt;/th&gt;
              &lt;th&gt;NAME&lt;/th&gt;
              &lt;th&gt;AMOUNT ORDERED&lt;/th&gt;
              &lt;th&gt;REVENUE&lt;/th&gt;
              &lt;th&gt;ORDERED ITEM&lt;/th&gt;
              &lt;th&gt;ADDRESS&lt;/th&gt;
              &lt;th&gt;CITY&lt;/th&gt;
              
            &lt;/tr&gt;
          &lt;/thead&gt;
        {% for x in queryset2 %}
            &lt;tr&gt;
              &lt;td&gt;{{x.id}}&lt;/td&gt;
              &lt;td&gt;{{x.name}}&lt;/td&gt;
              &lt;td&gt;{{x.quantity}}&lt;/td&gt;
              &lt;td&gt;{{x.quantity * stock.ppu}}&lt;/td&gt;
              &lt;td&gt;{{x.order_item}}&lt;/td&gt;
              &lt;td&gt;{{x.address}}&lt;/td&gt;
              &lt;td&gt;{{x.city}}&lt;/td&gt;
            &lt;/tr&gt;
        {% endfor %}
      &lt;/table&gt;
  </code></pre>
  <p>I have this code so far. What would be the correct syntax to multiply these two variables together : {{x.quantity * stock.ppu}}</p>