I have a table that is displaying invoices and one of
the columns is the invoice amount. I've used the
decorator patter as suggested to format the amount as
a currency. It works great, but it sorts as a string.
I need it to sort numerically.

Any suggestions on how to fix this? Do I need to make
my invoice objects implement comparable?

Any help is appreciated.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to