Description
Determines the factorial of a number.
Syntax
Fact ( n )
Return value
Double.
Returns the factorial of n. If n is null, Fact returns null.
Examples
This statement returns 24 (that is, 1 * 2 * 3 * 4):
Fact(4)
Both these statements return 1:
Fact(1) Fact(0)
See also
Fact method for DataWindows in the section called “Fact” in DataWindow Reference.