Euro conversion rounding error for IEP

Christian Stimming stimming@tuhh.de
Tue, 16 Jul 2002 22:50:11 +0200


-----BEGIN PGP SIGNED MESSAGE-----

No hurry. Take your time compiling the reproduction data -- and (please!) send 
the bug report to the mailing list, not to any idividual developer.

Christian

On Montag, 15. Juli 2002 21:19, Andrew S. Townley wrote:
> Christian,
>
> Sorry for the ommission.  I had it in another window and thought I'd pasted
> it into the message, but obviously, I hadn't.  I've also been unable to
> access my email since last thursday...
>
> My system setup is RedHat 7.3 and I'm using the GNUCash version that
> shipped with it, version 1.6.6.  I'm not sure what you mean by data setup,
> exactly.  I have all the accounts set up as IEP for the currency and have
> enabled the Euro support, so I get totals in both IEP and EUR.
>
> I'm not sure how to tell you to reproduce the problem.  I'll give it a shot
> with some dummy data and see if I can get similar behavior, but I'd say
> that it is dependent on the number of transactions.  Like I said, give me a
> couple more days and I'll get back to you with some better data.  I'm kinda
> in the middle of travel for work at the moment, so I don't have access to
> all my records.
>
> Again, sorry for the lame-ass problem report.  Was in a hurry and not
> thinking clearly.
>
> More info towards the end of the week when I'm back in Ireland.
>
> Thanks for the reply,
>
> ast
>
> Christian Stimming <stimming@tuhh.de> wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >
> >On Mittwoch, 10. Juli 2002 20:57, Andrew S. Townley wrote:
> >> I looked through the conversion rates for IEP in the gnc-euro.c file,
> >> and it appears that the rate is correct, but I'm getting a 5 cent
> >> rounding error between what my bank says and what GNUCash says.  I don't
> >> know how the *->EUR stuff works, but if you do a simple division of the
> >> IEP balance by the conversion rate (0.787564), you get the new EUR
> >> balance according to my bank
> >
> >Can you please be much more specific here? Gnucash version, data setup,
> > etc etc.
> >
> >We've tested the Euro exchange functions quite a lot, so if you really run
> >into problems here, then this might be a serious error hidden somewhere
> >inside. But to track this down, can you please provide enough information
> > to reproduce the problem?
> >
> >Christian
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.0.6 (GNU/Linux)
> >Comment: For info see http://www.gnupg.org
> >
> >iQCVAwUBPSy1lmXAi+BfhivFAQG09AP/a48KhPi/f+bFbiBlFXkk7OD5Oj0Jqxmm
> >nIu//NvIsgyLCeaIMS2lQ/mNt8PGOF1knTRrX8z9OPqknoGJd4ZbdnBZuhc8vob2
> >HqvQGJRhFhcvLnpM5WAgUjmpm0hSJZGDEYP+XxOx6BFYF2Ra65vMP1XaZCgK85by
> >00L/tlwRcRE=
> >=WLE4
> >-----END PGP SIGNATURE-----
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
> Experience the convenience of buying online with Shop@Netscape!
> http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
> http://webmail.netscape.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBPTSHCWXAi+BfhivFAQGBTAP+KKNc/gHODpSPUiIk/KNfigeyor51Wlr2
iTwnK9L17JIB9ggouITZND0qOoTnx3c2TtRMfADZ0vE9oXL+v0J6zOkcAiwL8kCe
pL0KX2RmXAeoPfepWoVHA9KA59RV8cFPOL2JpMpXFD/Xhqgn4iTh7uGRqzJLnftS
WrdgRzfrvZU=
=JxPc
-----END PGP SIGNATURE-----