Formating could be done in the view, for example using JSTL format tag: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
Gabrovsky, Ivaylo wrote:
You can find it in JDK API
http://java.sun.com/j2se/1.4.1/docs/api/
java.text.NumberFormat
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: numberFormat
Is there a struts documentation that explains what those formats are?
Regards,
PQ
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: January 16, 2003 10:13 AM
To: 'Struts Users Mailing List'
Subject: RE: numberFormat
moneyFormat=$###,###,##0.00
Mark
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:03 AM
What is the proper format string to put into ApplicationResources.properties
to get
<bean:write name="foo" property="bar" formatKey="moneyFormat"/>
to produce $3,456.00 from an integer?
Steve
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

