Re: Small cleanup in fn-financial.c
- From: Jody Goldberg <jody gnome org>
- To: "Andreas J. Guelzow" <aguelzow taliesin ca>
- Cc: Jody Goldberg <jody gnome org>, Neil Booth <neil daikokuya demon co uk>, gnumeric-list gnome org, Morten Welinder <terra diku dk>, Jukka-Pekka Iivonen <jiivonen cs hut fi>
- Subject: Re: Small cleanup in fn-financial.c
- Date: Mon, 14 Jan 2002 21:18:40 -0500
On Mon, Jan 14, 2002 at 06:49:03PM -0700, Andreas J. Guelzow wrote:
For COUPNCD : when called with up to 4 arguments we try to get the same
answers as XL, even when its answers are nonsense (which I believe they are)
when called with a fifth argument (oem, specifying whether to hadle last
of month maturity dates special) we can't be XL compatible anyways and
we calculate the correct date, ie:
This fits very nicely with the rough 'when to be compatible'
guidelines I've been using. If we can import a function from XL
directly then the routine needs to be as compatible is reasonable
(eg matching strange date math, but not matching precision). As
soon as the function has a different name, or an extra argument
we are free to make things rational.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]