Compare two variable in thymeleaf it throw runtime exception
org.attoparser.ParseException: Attribute name cannot be null or empty
I'm comparing this statement regularPrice != salePrice
.
<div th: if="${batch.regularPrice} < ${batch.salePrice}">
<del class="dis-price"><i class="fa fa-rupee"></i>
<span th:text="${#numbers.formatDecimal(batch.regularPrice, 0, 'COMMA', 0, 'POINT')}"></span>
</del>
</div>
更换
与