<?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%3ARound</id>
	<title>Template:Round - 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%3ARound"/>
	<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Template:Round&amp;action=history"/>
	<updated>2026-10-18T11:00:24Z</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:Round&amp;diff=2349&amp;oldid=prev</id>
		<title>gww&gt;Ab.er.rant: changed category</title>
		<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Template:Round&amp;diff=2349&amp;oldid=prev"/>
		<updated>2009-02-05T03:22:03Z</updated>

		<summary type="html">&lt;p&gt;changed category&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;{{ #if: {{{1|}}} | {{ #switch: {{{2|}}}&lt;br /&gt;
| floor    = {{ #ifexpr: {{{1}}} round 0 &amp;gt; {{{1}}} | {{ #expr: {{{1}}} - 0.5 round 0 }} | {{ #expr: {{{1}}} round 0 }} }}&lt;br /&gt;
| ceil     = {{ #ifexpr: {{{1}}} round 0 &amp;lt; {{{1}}} | {{ #expr: {{{1}}} + 0.5 round 0 }} | {{ #expr: {{{1}}} round 0 }} }}&lt;br /&gt;
| #default = {{ #expr: {{{1}}} round 0 }}&lt;br /&gt;
}} }}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
This template allows to [[w:Rounding|round]] given numbers using on the common rounding functions [[w:Floor and ceiling functions|floor and ceiling]] to integer values.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
; ''unnamed parameter'' 1&lt;br /&gt;
: Number you want to round.&lt;br /&gt;
; ''unnamed parameter'' 2&lt;br /&gt;
: Optional. Rounding function. Accepts the following values:&lt;br /&gt;
:*&amp;lt;code&amp;gt;floor&amp;lt;/code&amp;gt; - Using the mathematical ''floor'' function to return the highest integer less than or equal to the given number.&lt;br /&gt;
:*&amp;lt;code&amp;gt;ceil&amp;lt;/code&amp;gt; - Using the mathematical ''ceiling'' function to return the smallest integer not less than the given number.&lt;br /&gt;
:*''defaults to'' the normal ''Symmetric Arithmetic Rounding'' function to return the rounded value.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{round|15.76}}&amp;lt;/nowiki&amp;gt; = {{round|15.76}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{round|15.76|floor}}&amp;lt;/nowiki&amp;gt; = {{round|15.76|floor}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{round|15.76|ceil}}&amp;lt;/nowiki&amp;gt; = {{round|15.76|ceil}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{round|4.37}}&amp;lt;/nowiki&amp;gt; = {{round|4.37}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{round|4.37|floor}}&amp;lt;/nowiki&amp;gt; = {{round|4.37|floor}}&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{round|4.37|ceil}}&amp;lt;/nowiki&amp;gt; = {{round|4.37|ceil}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Calculation templates|Round]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>gww&gt;Ab.er.rant</name></author>
	</entry>
</feed>