I`m using below Outputtext to show negative values in brackets. For example, -1,000.00 to reflect as (1,000.00)
<td>$<apex:outputText value="{0, Number, Currency}"> <apex:param value="{!target}" /> </apex:outputText></td>
Above line works fine except that I want to get rid of decimals. Negative value should appear like this (1,000) without decimals. Can someone please suggest a better way to achieve this? Can I achieve this using LEFT or Right Funtion?