Commit Graph
9 Commits
Author SHA1 Message Date
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Si Chen 46654f1cd0 Allow for different levels of precision for sales invoice and purchase invoice amounts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574397 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 22:53:33 +00:00
Si Chen 5ec84c5704 Set ledger rounding to be 1 digit more than any other financial rounding setting to avoid rounding problems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572526 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 05:15:00 +00:00
David E. Jones 0af991a4e1 A number of fixes/improvements related to handling funny numbers properly using BigDecimal for calculations, and rounding incoming Double values which can be (often are) weird
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571291 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:08:43 +00:00
Si Chen cb59ee5ba3 Fix rounding issues in general ledger posting routines because they did not have configurable BigDecimal rounding properties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570894 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:39:40 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +00:00
Jacopo Cappellato 420a909049 Conversion from MIT to ASL2.0 for the files of the accounting component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422403 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 08:10:15 +00:00
Si Chen 59d1e1f523 Changing all rounding modes to round half up because round half even violates the principle of least surprise for casual users and customers, even though it is more precise
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@419626 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 17:43:23 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00