File diff 980980fb39e6 → 0ee8ef4ade6a
rounding/proposal.md
Show inline comments
 
 
 
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.
 

	
 
http://www.ledger-cli.org/3.0/doc/ledger3.html#Specifying-Amounts
 
https://www.ledger-cli.org/3.0/doc/ledger3.html#Specifying-Amounts
 

	
 
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.
 

	
...
 
@@ -39,4 +39,4 @@ If rounding up was done per transaction, then the error per transaction may add
 
  
 
In the above example if there is rounding up in each transaction then the overall result will be off by few cents.
 
This problem does not occur in ledger as rounding is deffered till the last point that is at the time of display.
 
  
...
 
\ No newline at end of file