Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

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}