Description
Gets the factorial of a number.
Syntax
Fact ( n )
Return value
Double. Returns the factorial of n.
Examples
This expression returns 24:
Fact(4)
Both these expressions return 1:
Fact(1) Fact(0)
See also
Fact in the section called “Fact” in PowerScript Reference