Loading TOC...

MarkLogic Server 11.0 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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.