Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

need help on ammount formating with num{$z,zzz,zz9.99}

Avatar

Level 2

Hi All

,

Need help in formating the amount fields.

Currently I am using num{$z,zzz,zz9.99} Its working fine for positive ammount value.

But for negative amount its giving output as $-18,970.50

Expected out is -$18,970.50

need '-' sign before $

Thanks,

Abhijit

2 Replies

Avatar

Level 2

issue resolved by setting pattern as  = num{z$z,zzz,zz9.99}