<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gw1wiki.ezgame.cc/index.php?action=history&amp;feed=atom&amp;title=Template%3AInt_div</id>
	<title>Template:Int div - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gw1wiki.ezgame.cc/index.php?action=history&amp;feed=atom&amp;title=Template%3AInt_div"/>
	<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Template:Int_div&amp;action=history"/>
	<updated>2026-10-17T22:01:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://gw1wiki.ezgame.cc/index.php?title=Template:Int_div&amp;diff=1959&amp;oldid=prev</id>
		<title>gww&gt;Ab.er.rant: sourced from the template I wrote at [http://thewarwiki.com/wiki/Template:Int_div]</title>
		<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Template:Int_div&amp;diff=1959&amp;oldid=prev"/>
		<updated>2009-02-05T02:31:14Z</updated>

		<summary type="html">&lt;p&gt;sourced from the template I wrote at [http://thewarwiki.com/wiki/Template:Int_div]&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{ #ifexpr: {{{1}}} mod {{{2}}} = 0 | {{ #expr: {{{1}}} / {{{2}}} }} | {{ #expr: ({{{1}}} - {{{1}}} mod {{{2}}}) / {{{2}}} }} }}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
==Purpose==&lt;br /&gt;
Performs integer division as per Java. In other words, the division result ignores any resulting decimals and will not perform rounding.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{int div|&amp;lt;dividend&amp;gt;|&amp;lt;divisor&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{int div|25|10}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; results in {{int div|25|10}}.&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{int div|500|100}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; results in {{int div|500|100}}.&lt;br /&gt;
&lt;br /&gt;
[[Category:Calculation templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>gww&gt;Ab.er.rant</name></author>
	</entry>
</feed>