MarkLogic 10 Product Documentation
math:ceil

math:ceil(
   $x as xs:double
) as xs:double

Summary

Returns the smallest integer greater than or equal to x.

Parameters
x The floating point number to be evaluated.

Example

  math:ceil(36.00001) 

  => 37
Powered by MarkLogic Server | Terms of Use | Privacy Policy