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
Powered by MarkLogic Server | Terms of Use | Privacy Policy