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().