@FACTORIAL

The @FACTORIAL calculation function for Essbase computes the factorial of an expression.

This function returns the factorial of expression. The factorial of a number is equal to 1*2*3*...* number.

Syntax

@FACTORIAL (expression)

Parameters

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

@POWER