Difference between revisions of "Documentation/How Tos/Calc: FACT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 17: | Line 17: | ||
: returns <tt>'''1'''</tt>. | : returns <tt>'''1'''</tt>. | ||
− | + | {{Documentation/SeeAlso| | |
− | + | * [[Documentation/How_Tos/Calc: FACTDOUBLE function|FACTDOUBLE]] | |
− | + | * [[Documentation/How_Tos/Calc: MULTINOMIAL function|MULTINOMIAL]] | |
− | + | * [[Documentation/How_Tos/Calc: PRODUCT function|PRODUCT]]''' | |
− | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]''' | |
− | [[Documentation/How_Tos/Calc: Functions listed alphabetically| | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] |
− | [[Documentation/How_Tos/Calc: Functions listed by category| | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} |
Revision as of 13:48, 25 February 2009
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.