@FACTORIAL

Function

The @FACTORIAL() function returns the factorial of expression. The factorial of a number is equal to 1*2*3*...* number.

Syntax

@FACTORIAL(expression)

expressionSingle member specification or numeric expression.

Notes

Example

@FACTORIAL(1)     1
@FACTORIAL(5)     120

See Also

@POWER


Copyright (c)1991-2000 Hyperion Solutions Corporation. All rights reserved.