Hi Jacques,I think it should be irrelevant whether a BigDecimal is initialized as 0, 0.00 or 0.0000000 because all number should be rounded if needed before being presented in the UI anyway. Assuming that it was currency that your Client wanted 1 decimal place for, wasn't the number going through some sort of currency formatting before being presented?
Regards Scott HotWax Media http://www.hotwaxmedia.com On 10/11/2009, at 10:10 AM, Jacques Le Roux wrote:
Hi,I notice that we have number of "0.00" strings harcoded. I think we should introduce a parameter for that in Arithmetic propertiesSomething like default.decimals.string="0.00"A client of mine (POS) wanted to use only 1 decimal and I had to harcode them, I'd like to generalize.What do you think ? Jacques
smime.p7s
Description: S/MIME cryptographic signature