Difference between revisions of "Documentation/How Tos/Calc: FACTDOUBLE function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
Line 29: Line 29:
 
<tt>'''FACTDOUBLE(0)'''</tt>
 
<tt>'''FACTDOUBLE(0)'''</tt>
 
: returns <tt>'''1'''</tt>.
 
: returns <tt>'''1'''</tt>.
 +
 +
=== Issues: ===
 +
* This function currently appears in the AddIn category of the Function Wizard.
  
 
{{Documentation/SeeAlso|
 
{{Documentation/SeeAlso|
Line 39: Line 42:
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
=== Issues: ===
 
* This function currently appears in the AddIn category of the Function Wizard.
 

Revision as of 10:22, 2 March 2009


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.

Issues:

  • This function currently appears in the AddIn category of the Function Wizard.

Template:Documentation/SeeAlso

Personal tools