It seems clear to me that there are many occasions where a value is stored, and it's only permissable values are integers (things like number of shares, bank balance, number of accounts etc...). Bill's API is clearly sufficient for this purpose and already has the required functions to accomodate this, simply by setting the denominator to be one. My question is would it be *easier* to implement the modifications needed to Gnucash if another type and it's associated funcions were added to the API that could only represent integers (say stored as a 64bit integer)? On the plus side it would not be necessary to check for rounding under addition, subtraction and multiplication, also it would not be necessary to always set denom to 1, and possibly make the code easier to understand. On the other hand the API would get bigger. -- Steven Murdoch. email: [EMAIL PROTECTED] web: http://www.bigfoot.com/~murdomania/ PGP Keys: http://www.bigfoot.com/~murdomania/contact.htm Geek Code: http://www.bigfoot.com/~murdomania/geek.htm _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Terry
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Christopher Browne
- Re: Proposal for modifying gnucash to use exact quanti... Buddha Buck
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Bill Gribble
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Jon Trowbridge
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Steven Murdoch
- Re: Proposal for modifying gnucash to use exact quanti... Bill Gribble
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Steven Murdoch
- Re: Proposal for modifying gnucash to use exact quanti... Jason Rennie
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Jason Rennie
- Re: Proposal for modifying gnucash to use exact quanti... Buddha Buck
- Re: Proposal for modifying gnucash to use exact quanti... Richard Wackerbarth
- Re: Proposal for modifying gnucash to use exact quanti... Jason Rennie
- Re: Proposal for modifying gnucash to use exact quanti... Gary Bickford