Re: Math package revisited
Posted by
David E Jones-2 on
URL: http://ofbiz.116.s1.nabble.com/Math-package-revisited-tp169825p169826.html
Check out the BigDecimal stuff. A mailing list search should get you dozens of interesting (and hundreds of boring) messages.
This is a fixed point math library so that floating point issues are not an issue.
-David
BJ Freeman wrote:
> I would like to propose that we find or create a math package that
> supports rounding only at the end process.
> By this I mean follow the cobol way of making everything a integer.
> there is a defined number of positions that are set as to the right of
> the decimal.
> all computations are done in long (big integers). When there is a print
> out of final calculation, then the rounding is done.
> This would be the most accurate, IMHO
>
> Thoughts.