title: Arithmetic Operation in Thymeleaf
body: <p>How can I do some arithmetic operation in thymeleaf. I have tested so many ways. But unable to get the output. If U know, Please let me know.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>/*Dummy Content */ 
  &lt;p class="quan-inc-dec"&gt;
      &lt;input type="hidden" name="productId" th:value="*{product.id}" class="productId"/&gt;
      &lt;input type="hidden" name="orderItemId" th:value="*{id}" class="orderItemId"/&gt;
      &lt;input type="button" name="minus" class="minus" value="-" autocomplete="off"/&gt;
      &lt;input type="text" name="quantity" value="1" class="result" autocomplete="off" th:value="*{quantity}"/&gt;
      &lt;input type="button" name="plus" class="plus" autocomplete="off" value="+"/&gt;
  &lt;/p&gt;
  /*Dummy Content End*/
  &lt;span th:text="${${obj.baseRetailPrice}*${obj.aa}}"&gt;&lt;!-- I need the Result Here --&gt;&lt;/span&gt;
  </code></pre>