Gets the factorial of a number.
Fact ( n )
Argument  | 
Description  | 
|---|---|
n  | 
The number for which you want the factorial  | 
Double. Returns the factorial of n.
This expression returns 24:
Fact(4)
Both these expressions return 1:
Fact(1) Fact(0)
Fact in the PowerScript Reference