Difference between revisions of "Documentation/How Tos/Calc: FACT function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Bot: Adding Category: Documentation)
m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:FACT function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_ERFC_function
 +
|NextPage=Documentation/How_Tos/Calc:_FACTDOUBLE_function
 +
}}__NOTOC__
  
 
== FACT ==
 
== FACT ==
Line 17: Line 22:
 
: returns <tt>'''1'''</tt>.
 
: returns <tt>'''1'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: FACTDOUBLE function|FACTDOUBLE]]
 
* [[Documentation/How_Tos/Calc: FACTDOUBLE function|FACTDOUBLE]]
 
* [[Documentation/How_Tos/Calc: MULTINOMIAL function|MULTINOMIAL]]
 
* [[Documentation/How_Tos/Calc: MULTINOMIAL function|MULTINOMIAL]]
Line 26: Line 31:
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
[[Category: Documentation]]
+
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Latest revision as of 15:24, 31 January 2024

FACT

Returns the factorial of a number.

Syntax:

FACT(number)

Returns number!, the factorial of number, calculated as 1*2*3*4* ... * number.
FACT(0) returns 1 by definition.

Example:

FACT(3)

returns 6.

FACT(0)

returns 1.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_FACT_function&oldid=259891"
Views
Personal tools
Navigation
Tools
In other languages