Difference between revisions of "Documentation/How Tos/Calc: FACT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 20: | Line 20: | ||
* [[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]] | ||
− | * [[Documentation/How_Tos/Calc: PRODUCT function|PRODUCT]] | + | * [[Documentation/How_Tos/Calc: PRODUCT function|PRODUCT]] |
− | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] | + | * [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]] |
* [[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]]}} |
Revision as of 14:08, 26 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.