Format numeric field with () if negative
What is the best way to format the numeric field to add () if the field is negative?
I use this and it is not working:
<?xdofx:if (SOQS_Quantity_Shipped_ID120<=0) then ('(' || SOQS_Quantity_Shipped_ID120 || ')') else (SOQS_Quantity_Shipped_ID120) end if?>
Please let me know if you have any suggestion and/or know the best solution
Thanks
BIP 11.1.1.90