gnumeric r16859 - trunk/plugins/fn-financial
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16859 - trunk/plugins/fn-financial
- Date: Tue, 7 Oct 2008 13:20:03 +0000 (UTC)
Author: mortenw
Date: Tue Oct 7 13:20:03 2008
New Revision: 16859
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16859&view=rev
Log:
2008-10-07 Morten Welinder <terra gnome org>
* functions.c (gnumeric_xirr): Booleans should cause an error.
Modified:
trunk/plugins/fn-financial/ChangeLog
trunk/plugins/fn-financial/functions.c
Modified: trunk/plugins/fn-financial/functions.c
==============================================================================
--- trunk/plugins/fn-financial/functions.c (original)
+++ trunk/plugins/fn-financial/functions.c Tue Oct 7 13:20:03 2008
@@ -2002,14 +2002,11 @@
{
gnm_float rate0 = argv[2] ? value_get_as_float (argv[2]) : 0.1;
- /* Strings in a constant array need to be coerced -- finfuns.xls */
- /* FIXME: check strings in ranges and weep. */
return float_range_function2d (argv[0], argv[1],
ei,
gnm_range_xirr,
COLLECT_IGNORE_BLANKS |
- COLLECT_COERCE_STRINGS |
- COLLECT_IGNORE_BOOLS,
+ COLLECT_COERCE_STRINGS,
GNM_ERROR_VALUE,
&rate0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]