Thanks!! this helps! On Wed, Jul 22, 2009 at 10:08 PM, kaphilmore <kennethl...@sbcglobal.net>wrote:
> FIXED. If you're trying to sell a product in US dollars and you're selling > internationally, use something similar to this in your resource file. I hope > this helps someone, because it drove me crazy for a day!! > > <s:text name="format.money"> <s:param > value="product.cost" /> > </s:text> > > format.money = $ {0,number,#.00} > > > --- In str...@yahoogroups.com, "kaphilmore" <kennethl...@...> wrote: > > > > 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-unsubscr...@... > > For additional commands, e-mail: user-h...@... > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >