title: How to format the currency in HTML5 with thymeleaf
body: <p>I am stuck with formatting the currency in HTML 5. I have application where I have to format the currency. I have below code snippet </p>
  
  <pre><code> &lt;td class="right"&gt;&lt;span th:inline="text"&gt;$ [[${abc.value}]]&lt;/span&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Where from DAO abc I am reading the currency value, it should be formatted. 
  Currently printing   $ 1200000.0 it should print $ 1,200,000.0 .0</p>