<#function toCurrency value showSymbol=false>
<#if value?is_number>
<#local retval = 0>
<#local retval = value?string[“#,##0.00”]>
<#return retval>
<#else>
<#return value>
Write this code before the style definition in the advanced pdf and use this function where we need to fix the ampunt
For Example :
<td colspan=”1″ align=”center” border=”.1″ style=”vertical-align: middle;border-top:1px;”>${toCurrency(item.quantity)}</td>