ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adri...@hlmksw.com>
Subject Re: Where is BigDecimal currency converted?
Date Mon, 26 Jul 2010 18:03:54 GMT
What OFBiz version are you using on your live eCommerce site?


On 7/26/2010 11:00 AM, Ruth Hoffman wrote:
> Hello Developers:
> I'm having a problem on my live eCommerce site where, when a user
> selects any locale other than English, the BigDecimal value of the order
> item's price is not being converted correctly to a string. For example a
> Big Decimal value of "10.000" is getting displayed as "10,00" and being
> passed back in the form as "10,00". I'd like this value to be "10.00" as
> it is when the locale is set to English. I've spent most of the morning
> trying to figure out where this is converted done in the code, but with
> little success. Could someone who has worked on this please tell me
> where to start looking?
> FYI - I tried replicating this on the 9.04 stable release demo site but
> screen rendering is really messed up so I can't seem to get to a place
> where I can create a final order to look and see what the values being
> passed back look like.
> Ruth

View raw message