Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/1284-standardlibrary-mathematics-stat-mathsubfunctions-statmathfactorial.md
T
2026-06-23 21:47:51 +08:00

292 B

MathFactorial

Calculates the factorial of the specified integer.

double  MathFactorial(
   const int  n   // value of the number
   )

Parameters

n

[in]  Integer number, the factorial of which is to be calculated.

Return Value

The factorial of the number.