On Tue, 25 Jul 2000, Bill Gribble wrote: > I definitely don't think rounding should be a default. For most > financial transactions, the math you're doing won't require any > rounding/truncation at all, and for the ones that do (total-value > computations, for example) you probably want to use RND_CEIL more > often than you want to round; if you owe the bank a tenth of a cent, > they'll bill you a whole cent, if I'm not mistaken (please let > me know if I am!) There are two different concepts here. When counting an inventory, you don't need rounding; You don't even need your rational number representation. When you are computing prices and invoice extensions, a rounding policy comes into play. I would prefer to see the different policies as different function calls rather than a parameter to a generic function that attempts to implement all possible policies. _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
- Re: Proposal for modifying gnucash to us... Stanley Long
- Re: Proposal for modifying gnucash to use ex... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use ex... Terry
- Re: Proposal for modifying gnucash to us... John Hasler
- Re: Proposal for modifying gnucash t... Terry
- Re: Proposal for modifying gnuc... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use ex... Christopher Browne
- Re: Proposal for modifying gnucash to use ex... Clark Jones
- Re: Proposal for modifying gnucash to use exact quant... Steven Murdoch
- Re: Proposal for modifying gnucash to use exact ... Bill Gribble
- Re: Proposal for modifying gnucash to use ex... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quant... Glen Ditchfield
- Re: Proposal for modifying gnucash to use exact ... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quant... Christopher Browne
- Re: Proposal for modifying gnucash to use exact quant... Jason Rennie
- Re: Proposal for modifying gnucash to use exact ... Steven Murdoch
- Re: Proposal for modifying gnucash to use ex... Bill Gribble
- Re: Proposal for modifying gnucash to us... Steven Murdoch
- Re: Proposal for modifying gnucash to use exact ... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact ... Ben Stanley
- Re: Proposal for modifying gnucash to use ex... Robert Graham Merkel