We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Find the factorial of a number.
Alternatives: factorial. Similar: factorial.
function factorial(n, k) // n: a number // k: denominator factorial [0]
const {factorial} = require('extra-math'); factorial(5); // → 120 factorial(6); // → 720 factorial(7); // → 5040