Modifica

Condividi tramite


WorksheetFunction.FactDouble(Object) Method

Definition

Returns the double factorial of a number.

public:
 double FactDouble(System::Object ^ Arg1);
public double FactDouble (object Arg1);
Public Function FactDouble (Arg1 As Object) As Double

Parameters

Arg1
Object

Number - the value for which to return the double factorial. If number is not an integer, it is truncated.

Returns

Remarks

If number is nonnumeric, FactDouble returns the #VALUE! error value.

If number is negative, FactDouble returns the #NUM! error value.

If number is even:

Figure 1: Equation for even

If number is odd:

Figure 2: Equation for odd

Applies to