FACTDOUBLE function
FACTDOUBLE returns the double factorial of a number.
Syntax
FACTDOUBLE(number)
number is an integer that is greater than or equal to zero.
Note:
- For even numbers, FACTDOUBLE(n) returns 2*4*6*8* ... *n.
- For odd numbers, FACTDOUBLE(n) returns 1*3*5*7* ... *n.
- =FACTDOUBLE(0) returns 1 by definition.
Example
- =FACTDOUBLE(5) returns 15.
- =FACTDOUBLE(6) returns 48.
- =FACTDOUBLE(0) returns 1.