struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kaphilmore" <kennethl...@sbcglobal.net>
Subject s2 currency and internationalization
Date Wed, 22 Jul 2009 11:18:56 GMT
I'm using S2 for an eCommerce application (with resource files in different languages) and
I'd like to display the currency in US only. The problem, when someone using the 'fr' locale
comes to the site, the price is displayed as 89,99 instead of 89.99. Is there a way to force
it to display as '89.99'? My setup is below.

item.price={0,number,currency}

<s:text name="item.price">					<s:param value="product.cost" />
</s:text>

Thanks in advance for any help.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message