Loading TOC...

MarkLogic 10 Product Documentation
math.fmod

math.fmod(
   x as Number,
   y as Number
) as Number

Summary

Returns the remainder of x/y.

Parameters
x The floating point dividend.
y The floating point divisor.

Example

  math.fmod(10, 3)

  => 1

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.