math.floor( x as Number ) as Number
Returns the largest integer less than or equal to x.
math.floor(4.013) => 4
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.