logfact(X)
Returns the natural log of the factorial of a given value.
Syntax
logfact(X)
Input
Argument | Type | Description |
---|---|---|
X |
integer or decimal | The value on which to compute the log factorial |
Return Value
Returns a decimal number corresponding to the natural logarithm of the factorial of
X
.
If X
is negative, the results are undefined.
If X
is N/A, the result is N/A.
Sample Usage
<table cols="value"> 3; 4; 7; 20; 6.5; </table> <willbe name="logfact_example" value="logfact(value)" format="width:30;dec:8"/>