Hi there -
I'm looking through some of the implementation of BigDecimal from Hans
in the new Accounting/GL component, and I think maybe we need a place to
standardize the arithmetic configuration. David already got us started
with a new "currency-precise" field type for currency fields, etc. that
require precision.
I wonder if we should -
1. Have a central base/config/arithmetic.properties file to control the
BigDecimal properties (# of decimal places and rounding method) for all
applications?
2. Have separate arithmetic.properties to control rounding in different
applications, so orders and invoices, for example, can have different
rounding properties?
Do we ever have situations where (2) is necessary - ie orders to more
decimal places than invoices, or different ways of rounding? If so, is
it better to put everything in one big file or to have config files
which are specific to the applications?
Si
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev