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
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
I would suggest:
<fmt:formatNumber type="currency" pattern="$#,##0.00;-$#,##0.00" value="-10000" />