Difference between revisions of "Documentation/How Tos/Calc: FACTDOUBLE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
|||
Line 4: | Line 4: | ||
Returns the double factorial of a number. | Returns the double factorial of a number. | ||
+ | This function is only available if the '''Analysis AddIn''' is installed. | ||
=== Syntax: === | === Syntax: === | ||
Line 37: | Line 38: | ||
'''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]''' | '''[[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]''' | ||
+ | |||
+ | === Issues: === | ||
+ | This function appears in the AddIn category in the Function Wizard. |
Revision as of 06:11, 20 February 2008
FACTDOUBLE
Returns the double factorial of a number.
This function is only available if the Analysis AddIn is installed.
Syntax:
FACTDOUBLE(number)
- returns number!!, the double factorial of number, where number is an integer greater than or equal to zero.
- For even numbers FACTDOUBLE(number) returns:
- 2*4*6*8* ... *number
- For odd numbers FACTDOUBLE(number) returns:
- 1*3*5*7* ... *number
- FACTDOUBLE(0) returns 1 by definition.
Example:
FACTDOUBLE(5)
- returns 15.
FACTDOUBLE(6)
- returns 48.
FACTDOUBLE(0)
- returns 1.
See also:
Issues:
This function appears in the AddIn category in the Function Wizard.