currency format for negative number

"Scott Purcell" <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <OF429C4EB4.F4C4F1D9-ON862575BD.0075982C-862575BD.0075F962@mastercard.com>
Hello,

I have the following
Adjustment Amount: ${adjustment.adjustmentAmount?string.currency!""}

The adjustment.getAdjustmentAmount method returns a BigDecimal and all is 
good. Problem is the value for adjustment is -5.00.
So when it prints to the email it prints ($5.00) which I thought was good, 
but the customer wants -$5.00.

Can anyone assist with this?

Thanks,







CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, any disclosure, distribution or other use of this e-mail message or attachments is prohibited. If you have received this e-mail message in error, please delete and notify the sender immediately. Thank you.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.