FACTDOUBLE (double factorial)

<< Click to Display Table of Contents >>

FACTDOUBLE (double factorial)

Syntax:

FACTDOUBLE(Number)

Description:

Returns the double factorial of the specified number.

The double factorial is calculated as follows:

If Number is even, its double factorial is 2*4*6*...*Number.

If Number is odd, its double factorial is 1*3*5*...*Number.

Number must be ≥ 0. Digits to the right of the decimal point are ignored.

Example:

FACTDOUBLE(10) equals 2*4*6*8*10, which equals 3840.

FACTDOUBLE(11) equals 1*3*5*7*9*11, which equals 10395.

See also:

FACT