FACTDOUBLE
Syntax:
FACTDOUBLE ( n )
Description: Computes the double factorial of n.
Mathematical Formula:
If n is even:
If n is odd:
Arguments:
Name |
Type |
Description |
---|---|---|
n |
number |
The non-negative value whose double factorial is to be computed. n is truncated to an integer. |
Return Type and Value: number – The double factorial of n.
However, if
n is negative,
#NUM!
is returned.n is too large for the result to be representable,
#NUM!
is returned.
example: