FACT

The FACT function returns the factorial of a number.

FACT(fact-num)

fact-num: A number value. fact-num must be greater than or equal to 0. Any decimal part is ignored.

Examples

=FACT(5) returns 120, or 1 * 2 * 3 * 4 * 5.

=FACT(0) returns 1.

=FACT(4.5) returns 24. The fraction is dropped and 4 factorial is computed.

=FACT(-1) returns an error; the number must be nonnegative.

See also
FACTDOUBLE
MULTINOMIAL