Tuesday, October 4, 2016

ADF: Format negative currency with brackets

Displaying UI attribute which holds both positive ,negative currency and displaying negative currency with brackets ex:($123.00 ) instead of -$123.00 .

Solution:
In convertNumber tag change pattern to "#,##0.00;(#,##0.00)" 

Here semi-colon(;) is separating the value of the format which is secondary format for negative currency.