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
<td class="right"><span th:inline="text">$ [[${abc.value}]]</span></td>
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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…