FACT

Returns the factorial of a number.

Syntax:

FACT(n:number)

Returns the factorial of n (most commonly shortened to n!).

n must be an integer greater than or equal to zero.

The formula used is:

n! = n × (n - 1) ... × 2 × 1, i.e. n! = Πi=n i