This function, when calculated, returns the double factorial of the specified number.
FactDouble([Number])
Where:
Number is the number or the reference to a number, that you want to find the double factorial of.
Rule | Meaning |
---|---|
FactDouble(6) | If the specified number is odd, the FactDouble function will begin its multiplication at 1, and will cycle through the numbers between 1 and 6, in increments of 2, multiplying them together.
If the specified number is even, the FactDouble function will begin its multiplication at 2, and will cycle through the numbers between 1 and 6, in increments of 2, multiplying them together. For this example 6 is even so the FactDouble function will perform the following calculation: 2*4*6 |
Number | Calculation Breakdown | Result of the FactDouble function |
---|---|---|
5 | 1*3*5 | 15 |
12 | 2*4*6*8*10*12 | 46080 |
17 | 1*3*5*7*9*11*13*15*17 | 34459425 |