Loading TOC...

MarkLogic Server 11.0 Product Documentation
math:fmod

math:fmod(
   $x as xs:double,
   $y as xs:double
) as xs:double

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.