Changeset - 7f02b677fd79
[Not reviewed]
0 0 1
tripun - 7 years ago 2014-06-12 15:03:20
created proposal doc about rounding
1 file changed with 18 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Show inline comments
new file 100644
Some documentation is  already there on internal representation of numbers in ledger. It stores numbers as rational numbers avoid rounding problems arising of floating point representation.

The only time when rounding occurs is while displaying. But there are some other rounding problems in accountancy and it will be good to have a discussion on them.

From the point of view of accountants,

1.  Control over displayed precision
There is no option to force a desired display precision. There is no option to increase or decrease display precision via command line.


2. Too much accuracy.
It is good that ledger is very accurate in calculations but it sometimes becomes inconsistent with real world practices due to this accuracy. At times we may need to truncate some amounts even though amounts specified in the journal may be of higher precision. Uptill now, the precision is really controlled by amounts and they are always rounded and not truncated.


3. Accumulated inaccuracy
Small amounts matters when they accumulate to significant amounts in total. If rounding up is done per transaction then according to ledger principle even if the transaction is balanced and the overall balance too, but the actual balance must include this significant amount too.
\ No newline at end of file
0 comments (0 inline, 0 general)