Avatar

Level 2

I am having one xdp form which contains multiples objects having some textfields mapped with some xsd.

requirement is if values is negative need to display it in red color as  "-$18,970.50"

currently it is getting displayed as   "$-18,970.50"

I have used pattern num{$z,zzz,zz9.99}

Is any ready made format available for this?