You can use the s:text struts tag.

<s:text name="format.money"><s:param value="amount"/></s:text>

Where 

format.money = {0,number,#,##0.00} in a property file


-----Original Message-----
From: Pascal SEREMES-DAMAL [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 22, 2008 3:12 AM
To: Struts Users Mailing List
Subject: [Formatting data] - Format a number as currency

Hi everyone!!!

I'd like to know if it is possible to format a number into a currency
with
the struts taglib.

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to