reproducible, & possibly configurable rounding

Bradley M. Kuhn bkuhn at ebb.org
Sat May 10 12:04:01 EDT 2014


Chris Travers wrote at 19:44 (EDT) on Thursday:
> But whatever method is used for rounding (round away from 0 or round
> to even), it needs to be documented.

Right, that's the bug that Tripun is working on: just making sure that
Ledger-CLI can do this and that it's configurable, and that policies of
rounding documentation can be taken care of.

There were a few minor rounding problems I found and reported bugs
in Ledger-CLI some time ago, which is why I put this issue on the
list of GSoC projects.  Tripun is working through those bugs, and
figuring out whether they require legitimate fixes or simply more
documenation.

> Test cases for number rounding is one of the things we added early on
> to LSMB for this reason.

There are a number of test cases for this already on Ledger-CLI and
Tripun will be improving those as part of his GSoC project, too.
-- 
   -- bkuhn


More information about the npo-accounting mailing list