title: Spring Thymeleaf multiply two variables in function
body: <p>I have some field that formatted throw Spring Formatter class. I use expression <code>th:text="${{variable}}"</code> for formatting this variable on view, but I need to multiply this variable on variable from controller. So I tried something like this <code>th:text="${{variable * controllerVar}}"</code> or this <code>th:text="${{variable}} * ${controllerVar}"</code>. But this doesn't work. Also I tried to create variable like this <code>th:with="var=${{variable}}"</code> and <code>th:text="${var * controllerVar}"</code> but it doesn't work too... And after that I need put this to function something like that <code>th:text="#numbers.formatCurrency(here put result)"</code>.</p>