math.floor

math.floor(
   x as Number
) as Number

Summary

Returns the largest integer less than or equal to x.

Parameters
x The floating point number to be evaluated.

Example

  math.floor(4.013)

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