WorksheetFunction.Fact Method (Excel)
Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number.
Syntax
expression .Fact(Arg1)
expression A variable that represents a WorksheetFunction object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Arg1 |
Required |
Double |
Number - the nonnegative number you want the factorial of. If number is not an integer, it is truncated. |
Return Value
Double