Factorial
Returns the factorial of a number.
Syntax
Factorial ( index )
| Parameter | Description |
|---|
index | A numeric value. The fractional part of index is ignored. |
Example
Factorial(5) returns 120 (which is 5 * 4 * 3 * 2 * 1).
Factorial(3.5) returns 6 (which is 3 * 2 * 1). The fractional part of index is ignored.