Loading TOC...

MarkLogic 10 Product Documentation
math.ceil

math.ceil(
   x as Number
) as Number

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.