﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 3  » The mod() function returns the integer remainder of a division</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 12 Sep 2026 14:33:40 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: The mod() function returns the integer remainder of a division</title><link>https://forums.millisecond.com/Topic4176.aspx</link><description>&lt;p&gt;Oh, and by the way, this is not at all a complaint, I applaude this discrepancy to the manual. The fraction part of a division can easily be computed by&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &lt;i&gt;fpart(a/b)&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;while mirroring the "normal" mod() behavior with a mod function as described in the manual is a tad more irky.&lt;/p&gt;
&lt;p&gt;Bye, Malte.&lt;/p&gt;</description><pubDate>Wed, 24 Mar 2010 09:42:26 GMT</pubDate><dc:creator>Blackadder</dc:creator></item><item><title>RE: The mod() function returns the integer remainder of a division</title><link>https://forums.millisecond.com/Topic4174.aspx</link><description>&lt;p&gt;[quote]Inquisit's mod() function computes the integer remainder of a division[/quote]&lt;/p&gt;
&lt;p&gt;... as any well-behaved &lt;i&gt;mod&lt;/i&gt; function should do. But indeed, you are correct in that the documentation is wrong.&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Wed, 24 Mar 2010 09:38:16 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>The mod() function returns the integer remainder of a division</title><link>https://forums.millisecond.com/Topic4172.aspx</link><description>&lt;p&gt;Just a quick note: other than stated in the help, Inquisit's mod() function computes the integer remainder of a division.&lt;br /&gt;&lt;br /&gt;Examples&lt;br /&gt;&lt;br /&gt;mod(1,2)&amp;nbsp; = 1&lt;br /&gt;mod(2,9)&amp;nbsp; = 2&lt;br /&gt;mod(11,4) = 3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I haven't tested what mod(3.14,2) would yield but I assume it to be 1.14.&lt;br /&gt;&lt;br /&gt;Bye, Malte&lt;/p&gt;</description><pubDate>Wed, 24 Mar 2010 09:28:47 GMT</pubDate><dc:creator>Blackadder</dc:creator></item></channel></rss>