FACT function

FACT(Number) FACT(Number)

Number

Number or { Number }

The input number.

Returns

Number or { Number }

The factorial of a number.

Returns the factorial of a number, denoted n!. The factorial for a number n is defined as the product of all positive integers which are less than or equal to n.

Example

FACT(5)FACT(5)

Returns 120 (5 * 4 * 3 * 2 * 15 * 4 * 3 * 2 * 1).