Condition to check numerical value not working in PDF Template Use ?trim to tackle this situation example <#if item.netamount?trim != "">