Commit 9c4cd9b7 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Fix special case.

2000-08-28  Morten Welinder  <terra@diku.dk>

	* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
parent 2ac5f32e
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
2000-08-28 Morten Welinder <terra@diku.dk>
* src/functions/fn-financial.c (gnumeric_rate): Fix special case.
2000-08-27 Jody Goldberg <jgoldberg@home.com>
* src/number-match.c (format_create_regexp) : If we see seconds
......
......@@ -1604,7 +1604,7 @@ gnumeric_rate (FunctionEvalInfo *ei, Value **argv)
else {
/* Exact case. */
return value_new_float (pow (-udata.fv / udata.pv,
-1.0 / udata.nper) - 1);
1.0 / udata.nper) - 1);
}
}
......
......@@ -1604,7 +1604,7 @@ gnumeric_rate (FunctionEvalInfo *ei, Value **argv)
else {
/* Exact case. */
return value_new_float (pow (-udata.fv / udata.pv,
-1.0 / udata.nper) - 1);
1.0 / udata.nper) - 1);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment