[gnumeric] BETA.DIST, GEOMDIST: Fix samples.



commit a7c6629a6d55f053d09dca8aeb0187a4293e4ecd
Author: Morten Welinder <terra gnome org>
Date:   Thu Mar 19 09:08:38 2015 -0400

    BETA.DIST, GEOMDIST: Fix samples.

 plugins/fn-stat/ChangeLog   |    4 ++++
 plugins/fn-stat/functions.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/plugins/fn-stat/ChangeLog b/plugins/fn-stat/ChangeLog
index 38200af..d27ff22 100644
--- a/plugins/fn-stat/ChangeLog
+++ b/plugins/fn-stat/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-19  Morten Welinder  <terra gnome org>
+
+       * functions.c (gnumeric_beta_dist): Fix sample.
+
 2015-03-04  Morten Welinder <terra gnome org>
 
        * Release 1.12.21
diff --git a/plugins/fn-stat/functions.c b/plugins/fn-stat/functions.c
index e27bb7f..a6e4416 100644
--- a/plugins/fn-stat/functions.c
+++ b/plugins/fn-stat/functions.c
@@ -1210,7 +1210,7 @@ static GnmFuncHelp const help_beta_dist[] = {
        { GNM_FUNC_HELP_NOTE, F_("If @{alpha} <= 0 or @{beta} <= 0, this function returns a #NUM! error.") },
        { GNM_FUNC_HELP_NOTE, F_("If @{a} >= @{b} this function returns a #NUM! error.")},
        { GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
-       { GNM_FUNC_HELP_EXAMPLES, "=BETA.DIST(0.12,2,3,FALSE,2,4)" },
+       { GNM_FUNC_HELP_EXAMPLES, "=BETA.DIST(0.12,2,3,FALSE,0,4)" },
        { GNM_FUNC_HELP_SEEALSO, "BETAINV,BETADIST"},
        { GNM_FUNC_HELP_END }
 };
@@ -4440,7 +4440,7 @@ static GnmFuncHelp const help_geomdist[] = {
        { GNM_FUNC_HELP_NOTE, F_("If @{k} < 0 this function returns a #NUM! error.") },
        { GNM_FUNC_HELP_NOTE, F_("If @{p} < 0 or @{p} > 1 this function returns a #NUM! error.") },
        { GNM_FUNC_HELP_NOTE, F_("If @{cumulative} is neither TRUE nor FALSE this function returns a #VALUE! 
error.") },
-       { GNM_FUNC_HELP_EXAMPLES, "=GEOMDIST(2,10.4,TRUE)" },
+       { GNM_FUNC_HELP_EXAMPLES, "=GEOMDIST(2,0.4,TRUE)" },
        { GNM_FUNC_HELP_SEEALSO, "RANDGEOM"},
        { GNM_FUNC_HELP_END }
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]