Documentation/Calc Functions/FACTDOUBLE

From The Document Foundation Wiki
Jump to: navigation, search


Im-jabber.svg

Under construction.
For now, see the system Help files.


Function name:

FACTDOUBLE

Category:

Add-in

Summary:

Returns the double factorial of a number.

Syntax:

FACTDOUBLE(Number)

Returns:

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.

Arguments:

Returns Number !!, the double factorial of Number, where Number is an integer greater than or equal to zero.

Additional details:

Examples:

=FACTDOUBLE(5) returns 15.

=FACTDOUBLE(6) returns 48.

=FACTDOUBLE(0) returns 1.

Related LibreOffice functions:

ODF standard:

Equivalent Excel functions: