source/text/scalc/01/04060106.xhp |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

New commits:
commit 56220af4577d0f685ca40595f7f57254f92628c4
Author:     Pierre F <f...@bger.ch>
AuthorDate: Thu Jul 25 13:04:32 2024 +0200
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Fri Jul 26 15:24:50 2024 +0200

    adjust FACT. tdf#162044
    
    Change-Id: I605283ca535de89fb4d7dbce9d9f7751301fc054
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/170956
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/source/text/scalc/01/04060106.xhp 
b/source/text/scalc/01/04060106.xhp
index 1c80c7a546..9361a9a595 100644
--- a/source/text/scalc/01/04060106.xhp
+++ b/source/text/scalc/01/04060106.xhp
@@ -431,16 +431,18 @@
 <bookmark branch="hid/SC_HID_FUNC_FAKULTAET" id="bm_id3153886" 
localize="false"/>
 
 <h2 id="hd_id3145781">FACT</h2>
-<paragraph id="par_id3151109" role="paragraph"><ahelp 
hid="HID_FUNC_FAKULTAET">Returns the factorial of a number.</ahelp></paragraph>
+<paragraph id="par_id3151109" role="paragraph"><ahelp 
hid="HID_FUNC_FAKULTAET">Returns the factorial of a non-negative 
integer.</ahelp></paragraph>
 
 <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-<paragraph id="par_id3154661" role="code">FACT(Number)</paragraph>
-<paragraph id="par_id3152952" role="paragraph">Returns Number!, the factorial 
of <emph>Number</emph>, calculated as 1*2*3*4* ... * Number.</paragraph>
-<paragraph id="par_id3834650" role="paragraph">=FACT(0) returns 1 by 
definition.</paragraph>
-<paragraph id="par_id8429517" role="paragraph">The factorial of a negative 
number returns the "invalid argument" error.</paragraph>
-
+<paragraph id="par_id3154661" role="code">FACT(Integer)</paragraph>
+<paragraph id="par_id3152952" role="paragraph">Returns Integer!, the factorial 
of <emph>Integer</emph>, calculated as 1*2*3*4* ... * Integer.</paragraph>
+<paragraph id="par_id8429517" role="paragraph">Returns the "invalid argument" 
error if the argument is negative integer.</paragraph>
+<paragraph id="par_id3834651" role="paragraph">Returns the #VALUE! error if 
the argument is greater than 170, cause too large integer (approximately 
7E+306.</paragraph>
+<paragraph id="par_id3834650" role="paragraph"><item 
type="input">=FACT(0)</item> returns 1 by definition.</paragraph>
+<paragraph id="par_id8429555" role="paragraph">If the argument is a 
non-integer number, it is converted to its floor integer value.</paragraph>
 <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
 <paragraph id="par_id3154476" role="paragraph"><item 
type="input">=FACT(3)</item> returns 6.</paragraph>
+<paragraph id="par_id3154477" role="paragraph"><item 
type="input">=FACT(3.8)</item> returns 6.</paragraph>
 <paragraph id="par_id3147525" role="paragraph"><item 
type="input">=FACT(0)</item> returns 1.</paragraph><comment>see also 
FACTDOUBLE, MULTINOMIAL, PRODUCT</comment>
 </section>
 

Reply via email to