FACT function

From Apache OpenOffice Wiki
Jump to: navigation, search

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