DisplayTagテーブルライブラリを使用してテーブルをレンダリングしています。これにより、データのmessageFormatパターンを指定するオプションが提供されます。正しいフォーマットを見つけるのに苦労しています。以下は私が書き込もうとしているフォーマットです。
1. given a double print its currency representation without decimal points e.g 25.25 as $25
2. if a negative double is given it must print -$25 currently its printing ($25)
3. if double is 0.00 the it should not be printed