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