MQL4 Reference Math Functions MathCeil

MQL4 Help as One File:

MathCeil

The function returns integer numeric value closest from above.

double  MathCeil(
   double  val      // number
   );

Parameters

val

[in]  Numeric value.

Return Value

Numeric value representing the smallest integer that exceeds or equals to val.

Note

Instead of the MathCeil() function you can use ceil().


 
This website uses cookies. Learn more about our Cookies Policy.