Returns the factorial of an integer.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double Fact(
int n
)
Public Shared Function Fact (
n As Integer
) As Double
public:
static double Fact(
int n
)
static member Fact :
n : int -> float
Parameters
- n
- Type: SystemInt32
An int value.
Return Value
Type:
Double
A
double value specifying the factorial of n, n!. If x is
negative, the result is NaN.
See Also