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
Powered by MarkLogic Server | Terms of Use | Privacy Policy