Back to functions

dfactorial


double factorial

Calculates the double factorial of a number.


Usage: nerdamer("dfactorial(x)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

EXAMPLES:
var x = nerdamer('dfactorial(5)').evaluate();
console.log(x.text());
x = nerdamer('dfactorial(9)').evaluate();
console.log(x.text());
x = nerdamer('dfactorial(x+1)').evaluate();
console.log(x.text());
OUTPUT:
Back to functions