After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649484 - Function documentation fails to indicate if a function allows for arbitrarily many arguments
Function documentation fails to indicate if a function allows for arbitrarily...
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Documentation
git master
Other Linux
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2011-05-05 17:29 UTC by Andreas J. Guelzow
Modified: 2011-05-06 18:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2011-05-05 17:29:30 UTC
The docs read:
-----------------------
NPV: net present value

Arguments:
rate: effective interest rate per period
value1: cash flow for period 1
value2: cash flow for period 2

NPV calculates the net present value of a cash flow.

Examples:
npv(10%,100,100,-250) evaluates to ($14).
-------------------------

The function appears to have 3 arguments but the example has four!
Comment 1 Andreas J. Guelzow 2011-05-05 17:32:48 UTC
There should be an indication that this function in fact allows for an arbitrary number of arguments (cash flows)
Comment 2 Morten Welinder 2011-05-05 17:43:04 UTC
We clearly known internally: it's a "nodes" function.
Comment 3 Andreas J. Guelzow 2011-05-05 18:51:25 UTC
Out tool tips also show that more arguments are allowed. But the function help browser as well as the html and pdf docs do not show any indication.
Comment 4 Andreas J. Guelzow 2011-05-06 08:05:08 UTC
This has been fixed with respect to the function help browser.
Comment 5 Andreas J. Guelzow 2011-05-06 18:22:23 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.