fmt:formatNumber display negative currency in -$xxx.xx format in JSTL
currency, jstl
Solution
I would suggest: `<fmt:formatNumber type="currency" pattern="$#,##0.00;-$#,##0.00" value="-10000" />`
You can remove '$' from the pattern, if you like.
Problem
I am using fmt:formatNumber to format currency in JSTL, it will display negative currency in ($100) format, how do I make it display negative currency in negative format instead of ($100)? thanks very much, sue