math.modf( x as Number ) as Sequence
Returns x broken up into fraction and integer. x = fraction+integer.
math.modf(1.333) => 0.333 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.