<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/math.fmod.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>math.fmod</api:function-name><api:suggest>math.fmod</api:suggest><api:suggest>math</api:suggest><api:suggest>fmod</api:suggest><api:function-link mode="xquery" fullname="math:fmod">/apidoc/8.0/math:fmod.xml</api:function-link><api:function mode="javascript" name="fmod" type="builtin" lib="math" category="MathBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="math" namespace="http://marklogic.com/xdmp/math" fullname="math.fmod"><api:summary>
  Returns the remainder of x/y.
</api:summary><api:params><api:param name="x" type="xs:double"><api:param-description>
  The floating point dividend.
  </api:param-description><api:param-name>x</api:param-name><api:param-type>Number</api:param-type></api:param><api:param name="x" type="xs:double"><api:param-description>
  The floating point divisor.
  </api:param-description><api:param-name>x</api:param-name><api:param-type>Number</api:param-type></api:param></api:params><api:return>Number</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
  math.fmod(10, 3)

  =&gt; 1
</pre></api:example></api:function></api:function-page>