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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
Line 26: Line 26:
 
* [[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/Reference/Calc]]
+
[[Category: Documentation/Reference/Calc/Mathematical functions]]

Revision as of 07:58, 3 May 2010


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.

Template:Documentation/SeeAlso

Personal tools