php8.5
Home/ Manual/ stats / functions/ stats_stat_factorial

stats_stat_factorial

PHP function Edit on GitHub ✎

(PECL stats >= 1.0.0)

Returns the factorial of an integer

Description

stats_stat_factorial(int $n): float

Returns the factorial of an integer, n.

Parameters

n

An integer

Return Values

The factorial of n.

Source: reference/stats/functions/stats-stat-factorial.xml · from the official PHP manual (php/doc-en)