title: Casting int to float in thymeleaf frontend
body: <p>I have something like this:</p>
  
  <pre><code>&lt;span th:text="*{a / (b + c)}"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>where a, b and c are integers. I need the result to be a floating point number.</p>
  
  <p>Any ideas?</p>
  
  <p>Actual code:</p>
  
  <pre><code>&lt;span th:text="(*{item.candidates } &gt; 0 and *{item.budgetSeats + item.taxSeats} &gt; 0)?*{#numbers.formatDecimal(item.candidates / (item.budgetSeats + item.taxSeats),1,2, 'POINT')}:'N/A'"&gt;
  </code></pre>