On Fri, 30 Jun 2000, you wrote:
> Herbert Thoma wrote:
> [...]
> > > A simplfied way of dealing with one-shot currency exchanges needs to be
> > > implemented, essentially just a simple calculator popup.
> >
> > I volunteer here (soon now, really)
>
> I'm not at all familiar with the internals of GnuCash, but it would seem to
> me that if someone is going to go to the trouble of implementing a calculator
> popup, they might as well make it available whenever you're entering data
> into a "currency" field (e.g., a "credit" or a "debit"). Also, the currently
> displayed "value" in the "calculator" should transfer from/to the field
> in question "automagically", at least when the popup is first brought up
> and every time the "=" key is hit.
>
> Quicken has something like this, and although it's useful, frankly, for my
> purposes it's pretty far down on my personal "wish list", but here we
> have a saying that "a job worth doing is worth doing right".
>
> Clark
> --
I am currently developing such a calculator "engine" for gnucash. The
calculator is needed by the "financial calculator" I have developed. Dave has
agreed to do the GUI. I hope it could be used by any part of gnucash, not just
the financial calculator. The calculator engine is currently finished - it has
the four functions (+ - / * and grouping with ( and ) ).. Other operators can
be added easily as needed. Also named variables are recognized and supported. It
is totally independent of the underlying numeric representation -after following
the discussion here about the representation - I decided early on that the
representation (and actual arthmetic operations should be independent of the
parser/evaluation "engine". I am currently documenting the API for Dave and
anybody that wants to use it. This should be completed in a few days and I will
bundle the whole thing together and send to Dave.
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]