[Libreoffice-commits] help.git: source/text

Steve Fanning (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 31 21:01:16 UTC 2021


 source/text/scalc/01/04060184.xhp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1da6d6d94d094a16dc9f3081b1aae879e04190c0
Author:     Steve Fanning <stevemfanning at yahoo.co.uk>
AuthorDate: Sat Jan 30 21:35:53 2021 +0100
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sun Jan 31 22:00:56 2021 +0100

    Syntax given in Help file for Calc’s POISSON.DIST function is incorrect (see Bug 137747).
    
    Specifically, the third argument (“C”), whose purpose is to distinguish between the probability mass function (zero value for C) and the cumulative distribution function (non-zero value for C), is NOT optional but is required.
    
    The change affects only one file, 04060184.xhp.
    
    Change-Id: I9afbdb38b98ff2452a89861a4415ae10fa94d40e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110148
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/scalc/01/04060184.xhp b/source/text/scalc/01/04060184.xhp
index 8134dd9f4..4cc4f0ec5 100644
--- a/source/text/scalc/01/04060184.xhp
+++ b/source/text/scalc/01/04060184.xhp
@@ -365,10 +365,10 @@
     <paragraph xml-lang="en-US" id="par_id2954298" role="paragraph"><ahelp hid="HID_FUNC_POISSON_DIST_MS">Returns the Poisson distribution.</ahelp></paragraph>
     <embed href="text/scalc/00/avail_release.xhp#4.2"/>
     <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-    <paragraph xml-lang="en-US" id="par_id2946093" role="code">POISSON.DIST(Number; Mean [; C])</paragraph>
+    <paragraph xml-lang="en-US" id="par_id2946093" role="code">POISSON.DIST(Number; Mean ; Cumulative)</paragraph>
     <paragraph xml-lang="en-US" id="par_id2947253" role="paragraph"><emph>Number</emph> represents the value based on which the Poisson distribution is calculated.</paragraph>
     <paragraph xml-lang="en-US" id="par_id2951177" role="paragraph"><emph>Mean</emph> represents the middle value of the Poisson distribution.</paragraph>
-    <paragraph xml-lang="en-US" id="par_id2949200" role="paragraph"><emph>C</emph> (optional) = 0 or False calculates the density function; <emph>C</emph> = 1 or True calculates the distribution. When omitted, the default value True is inserted when you save the document, for best compatibility with other programs and older versions of %PRODUCTNAME.</paragraph>
+    <paragraph xml-lang="en-US" id="par_id2949200" role="paragraph"><emph>Cumulative</emph> = 0 or False to calculate the probability mass function; <emph>Cumulative</emph> = 1, True, or any other non-zero value to calculate the cumulative distribution function.</paragraph>
     <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
     <paragraph xml-lang="en-US" id="par_id2950113" role="paragraph"><item type="input">=POISSON.DIST(60;50;1)</item> returns 0.9278398202.</paragraph>
 </section>


More information about the Libreoffice-commits mailing list