From d0fc83f26f01b117d1ff4ef704332667834f0ae0 Mon Sep 17 00:00:00 2001 From: Steve Fanning <stevemfanning@yahoo.co.uk> Date: Sun, 31 Jan 2021 21:46:40 +0100 Subject: Incorrect default specified for Cumulative argument in Help description of Calc’s HYPGEOMDIST function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The implemented default is value 0 (FALSE) which gives the probability mass function. This is in accordance with ODF 1.2 but contrary to the Help description. The only file affected is 04060182.xhp. Change-Id: I3da1818abcdcb71e778e914d348a4f356934f6ab Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110219 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> --- source/text/scalc/01/04060182.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/text/scalc/01') diff --git a/source/text/scalc/01/04060182.xhp b/source/text/scalc/01/04060182.xhp index b6a78433b0..a3985e327a 100644 --- a/source/text/scalc/01/04060182.xhp +++ b/source/text/scalc/01/04060182.xhp @@ -429,7 +429,7 @@ <emph>Successes</emph> is the number of possible results in the total population.</paragraph> <paragraph xml-lang="en-US" id="par_id3148826" role="paragraph"> <emph>NPopulation </emph>is the size of the total population.</paragraph> - <paragraph xml-lang="en-US" id="par_id231585952506847" role="paragraph"><emph>Cumulative </emph> (optional) specifies whether to calculate the probability density function (FALSE or 0) or the cumulative distribution function (any other value). The cumulative distribution function is the default if no value is specified for this parameter.</paragraph> + <paragraph xml-lang="en-US" id="par_id231585952506847" role="paragraph"><emph>Cumulative </emph> (optional) specifies whether to calculate the probability mass function (FALSE or 0) or the cumulative distribution function (any other value). The probability mass function is the default if no value is specified for this parameter.</paragraph> <embed href="text/scalc/01/common_func.xhp#sectionexample"/> <paragraph xml-lang="en-US" id="par_id3154904" role="paragraph"> <item type="input">=HYPGEOMDIST(2;2;90;100)</item> yields 0.81. If 90 out of 100 pieces of buttered toast fall from the table and hit the floor with the buttered side first, then if 2 pieces of buttered toast are dropped from the table, the probability is 81%, that both will strike buttered side first.</paragraph> -- cgit