math.fmod( x as Number, y as Number ) as Number
Returns the remainder of x/y.
math.fmod(10, 3) => 1
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.