[GNC] gnucash_user: rounding errors and significant digits

2023-08-21 Thread Bruce McCoy via gnucash-user
Greetings to all of you,   Ingnucash, you have developed a wonderful program. Thank you.   Greatis my anticipation for using it, although there is at least one areaI do not understand. Could you please help me comprehend what ishappening in the calculations of gnucash compared with thecalc

[GNC] gnucash_user: rounding errors and significant digits

2023-08-21 Thread Bruce McCoy via gnucash-user
Bruce, please include the user list in your replies.  Then others are kept in the loop.  I am copying your reply here this time. Also, I am at my computer with a real keyboard so I will hopefully avoid fat finger mistakes.  Your rhetorical questions do not have good answers.  Historically, there

Re: [GNC] gnucash_user: rounding errors and significant digits

2023-09-08 Thread Bruce McCoy via gnucash-user
Jim, Whata pleasure to read your response. What a pause before my response. Youare kind enough to say: Iam interested by your statement, "results in gnucash reducingthe shares in the fund by 2.4". GnuCash is capable of storingshare counts to three decimal places. However, a  

Re: [GNC] gnucash_user: rounding errors and significant digits

2023-09-09 Thread Bruce McCoy via gnucash-user
Jim,      Thank you for your response of Mon, Aug 21, 2023 at 5:00 PM via GnuCash-user.   In it you said:     "Logically, $value = $price/share * #shares, and this should be precise equality."   This is certainly true.   And accuracy is a top consideration in a financial program.         

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-09-13 Thread Bruce McCoy via gnucash-user
Jim, Inyour response of Mon, Aug 21, 2023 at 5:00 PM via GnuCash-user yousaid: "Logically,$value = $price/share * #shares, and this should be preciseequality." GnuCash“stores the price as a rational number, a ratio between numeratorand denominator,” "price= 15000/2396 = 3750/5

Re: [GNC] gnucash_user: rounding errors and significant digits

2023-09-14 Thread Bruce McCoy via gnucash-user
Jim, Whatare some of the options available to GnuCash programmers today toimprove precision? Here is one group. Decimal-FloatingArithmetic GeneralDecimal Arithmetic http://speleotrove.com/decimal http://speleotrove.com/decimal/#decNumber http://speleotrove.com/decimal/#links h

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-09-25 Thread Bruce McCoy via gnucash-user
Hieverybody, Congratulationson releasing GnuCash 5.4. You are doing excellent work. Thank you somuch. Sincethis is a relatively long post, there are summaries at each end. Thefirst section runs through "Old Business." The secondsection starts with "New Business." The third section isju

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-09-25 Thread Bruce McCoy via gnucash-user
Hieverybody, Sincethis is a relatively long post, there are summaries at each end. Thefirst section runs through "Old Business." The secondsection starts with "New Business." The third section isjust the attachment. To see the illustrations, please unzip theattachment,if present. Cordial

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-09-25 Thread Bruce McCoy via gnucash-user
 Hi everybody, Since this is a relatively long post, there are summaries at each end. The first section runs through "Old Business." The second section starts with "New Business."  The third section is just the attachment. To see the illustrations, please unzip the attachment,if present. SpamAs

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-06 Thread Bruce McCoy via gnucash-user
Hi, On9/25/2023 9:50 PM, Adrien Monteleone wrote:     >you likely can't send zip files through this >mailman instance. OK.I wondered about that. Thanks.     >postthem on a hosting site and simply >paste the links in another reply.   OK.230925__to_Jim_DeLaHunt_

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-06 Thread Bruce McCoy via gnucash-user
Hi Everyone, On Tue, Sep 26 at 12:50 PM John Ralls wrote:    >GnuCash uses a pair of stack-allocated 128-bit integers (see. . . Thanks. Well done. What are the plans to help our users whose books are out of balance by a cent or so? Best Regards, Bruce | | Virus-free.www.avast.com | _

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Everyone, On Fri, Oct 6 at 1:02 PM John Ralls wrote:     >Book out of balance, meaning that the trial balance     >report doesn't balance with the Average Cost price     >source, nearly always results from not computing     >capital gains/losses correctly. Interpret that    

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Everyone, David,thank you for responding. I appreciate your input. OnSat, Oct 7 at 1:25 PM David Carlson wrote: >Accordingto my HP handheld calculator, >15,000.00divided by 1,377.41 yields 10.8900.   >Accordingto my hp 49g+ scientific graphing >calculator,15,000.00 divided b

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Everyone, OnSat, Oct 7 at 1:25 PM David Carlson wrote: >Howmany times must you bring up the same >non-point? Youare right in that I am addressing a community of people who areinterested in and actively developing GnuCash. As a community, youuse GnuCash and tolerate some of its sh

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Everyone, On Sat Oct 7 15:48:25 EDT 2023 John Ralls wrote:     >GnuCash does **NOT** round prices to two decimals.     >Prices are always calculated to the full numeric     >precision of 1/2^64. Amounts and values are what     >get rounded to the respective commodity/currency

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Everyone, On Oct 7, 2023, at 12:39, Bruce McCoy via gnucash-user wrote:     >If I have missed it, please help me. On Sat Oct 7 15:52:28 EDT 2023 John Ralls wrote:     >What you missed is my explanation that if     >user's books are out of balance it's their

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Adrien, I do not know what is happening with the spacing. I do not know what my e-mail client is. And I do not know how to give you a reasonable answer – just to list three things. Best Regards, Bruce | | Virus-free.www.avast.com | ___ gnucash-

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-07 Thread Bruce McCoy via gnucash-user
Hi Maf. King, You get the gold star of the day, for the most humerus response. You deserve it. For mistyping “agree” and for poor proofreading, I suppose I’d get the reverse. I deserve it. Best Regards, Bruce | | Virus-free.www.avast.com | ___ gnu

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-25 Thread Bruce McCoy via gnucash-user
Hi Everyone, On Sun, Oct 8 at 5:31 AM sunfish62 wrote:     >I'm not sure whose problem is being solved by     >this drawn out discussion.     >     >⁣David T. David, you are right. It is a drawn out discussion. On Sat Oct 7 17:27:29 EDT 2023 Maf. King wrote:     >going around in circles. E

Re: [GNC] GnuCash_user: rounding errors and significant digits

2023-10-26 Thread Bruce McCoy via gnucash-user
Jim, Thank you for responding. You make valid points.   On Wed, Oct 25 at 9:50 PM Jim DeLaHunt wrote and cited:     >On 2023-10-25 17:00, Bruce McCoy via gnucash-user wrote:     > We also assume that an "exactly precise" number has     the same precision as the smallest cu

Re: [GNC] DOS Payroll, Inventory, A/R, A/P, and G/L program

2023-10-29 Thread Bruce McCoy via gnucash-user
David,   You are correct. The zip file only contains some schema for the database and some pictures of certain User Interface screens. It gives an idea of what is useful for a payroll module.   This is a single-user, DOS program, written in an old language, not C++. Although I have the code,

Re: [GNC] DOS Payroll, Inventory, A/R, A/P, and G/L program

2023-10-30 Thread Bruce McCoy via gnucash-user
David,   Here are the source code text files, *.EDT, for the program. They are in  BKS.EDT.zip. These files are corrected. To make them easier to read, like TAXCODE.txt (q.v.), run them with TAS, which is in TAS.zip. BKS.EDT.zip, BKS.EDT.zip.txt,  TAS.zip  and TAS.zip.txt are in General at https

Re: [GNC] DOS Payroll, Inventory, A/R, A/P, and G/L program

2023-11-01 Thread Bruce McCoy via gnucash-user
Hi Everyone, On October 30, 2023 at 04:59:52 PM EDT, Michael Novack wrote:     >Confusion? What would DOS ...have to do with SOURCE     >CODE files? It's the compiler's job and the link editor's job     >to turn that source code into an executable Yes, you are right. I apologize for the confus

Re: [GNC] DOS Payroll, Inventory, A/R, A/P, and G/L program

2023-11-01 Thread Bruce McCoy via gnucash-user
Michael, On Nov 1 at 1:06 PM Michael Hendry wrote:     >sorry... That’s OK. You are helping.  Thank you for finding out the information.   Best Regards, Bruce | | Virus-free.www.avast.com | ___ gnucash-user mailing list gnucash-user@gnucash.org To

Re: [GNC] DOS Payroll, Inventory, A/R, A/P, and G/L program

2023-11-03 Thread Bruce McCoy via gnucash-user
Michael, (I was too hasty. Let me try it with a link. https://www.dropbox.com/scl/fi/aahbzubzzyc3y14hz2owu/_BKS_SRC.zip?rlkey=58pc9vuady2fn86tzbph1qmw7&dl=0 I apologize.) On Tue, Oct 31 at 6:40 AM Michael Hendry wrote:    >I have some accounts in TAS Books Thank you so much for looking. I did f

[GNC] GnuCash_user: rounding errors and significant digits

2023-11-08 Thread Bruce McCoy via gnucash-user
let’s include that as well. On Oct 25 21:49:36 EDT Jim DeLaHunt wrote:     >you are holding fast to assertions which I     >think are mistaken, and which lead you to     >misunderstanding. Let me highlight a few     >...     >On 2023-10-25 17:00, Bruce McCoy via     >gn

Re: [GNC] GnuCash getting worse?

2024-01-02 Thread Bruce McCoy via gnucash-user
On Thu, Dec 28, 2023 at 10:41 AM Michael D Novack wrote: >“Do you immediately upgrade to the newest version or do >you wait long enough for the new version bugs to be found and corrected?” >“if you dislike being an involuntary beta tester...then wait a little while >before upgrading.”   Michael’s