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

422 B

MathPowInt

Raises a number to the specified integer power.

double  MathPowInt(
   const double  x,      // value of the number
   const int     power   // power to raise to
   )

Parameters

x

[in]  Double-precision floating-point number to be raised to the power.

power

[in]  Integer specifying the power.

Return Value

The number x, raised to the specified power.