Negative amount within the brackets

In advanced PDF,

 <#if due < 0>

            ${currencySymbol}(${(-due)?string(“,##0.00”)})

          <#else>

            ${currencySymbol}${due?string(“,##0.00”)}

          </#if>

Leave a comment

Your email address will not be published. Required fields are marked *