next up previous contents index
Next: FALSE Up: A. Function Reference Previous: F   Contents   Index


FACT

Syntax: FACT(N)

N = a numeric value

FACT returns N! the factorial of N. The formula is given by:

\begin{displaymath}
N! = \left\{ \begin{array}{ll}
N \times (N-1)! & \mbox{for $N>0$} \\
1 & \mbox{for $N=0$} \\
\end{array} \right .
\end{displaymath}

Examples:

FACT(4) = 24, because 4! = 4 * 3 * 2 * 1

FACT(C13) = 3628800, where C13 = 10

Excel function: FACT


next up previous contents index
Next: FALSE Up: A. Function Reference Previous: F   Contents   Index
SpreadScript User's Guide, Version 1.2
Grey Trout Software
02 March 2003