Returns the factorial of expression. The factorial of a number is equal to 1*2*3*...* number.
Syntax
@FACTORIAL (expression)| Parameter | Description |
|---|---|
expression | Single member specification or numeric expression. |
Notes
expression can be no larger than 189. If expression is larger than 189, Essbase returns #MISSING.
If expression is negative, Essbase returns #MISSING.
Example
@FACTORIAL(1) 1 @FACTORIAL(5) 120
See Also