FACT function

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Personal tools
In other languages