<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3ARoman%2Fdoc</id>
	<title>Module:Roman/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3ARoman%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Roman/doc&amp;action=history"/>
	<updated>2026-05-07T09:15:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Roman/doc&amp;diff=7801&amp;oldid=prev</id>
		<title>imported&gt;Tom.Reding: /* top */ +{{Lua sidebar}}</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Roman/doc&amp;diff=7801&amp;oldid=prev"/>
		<updated>2019-06-08T16:27:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;top: &lt;/span&gt; +{{Lua sidebar}}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-use|3700+}}&lt;br /&gt;
{{Module rating|protected}}&lt;br /&gt;
{{Lua sidebar}}&lt;br /&gt;
&lt;br /&gt;
This module implements the {{tl|Roman}} template. For behavioral documentation, please see the template page. For test cases, please see [[Template:Roman/testcases]].&lt;br /&gt;
&lt;br /&gt;
* Module supports 0 as a Roman numeral, displays as &amp;#039;N&amp;#039;.&lt;br /&gt;
* Prior to 25 April 2016, used to display 69105 as &amp;lt;span style=&amp;quot;text-decoration:overline;&amp;quot;&amp;gt;LXV&amp;lt;/span&amp;gt;MMMMCV. With the addition of &amp;lt;span style=&amp;quot;text-decoration:overline;&amp;quot;&amp;gt;IX&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;text-decoration:overline;&amp;quot;&amp;gt;IV&amp;lt;/span&amp;gt; being 9000 and 4000 respectively, we now display 69105 as &amp;lt;span style=&amp;quot;text-decoration:overline;&amp;quot;&amp;gt;LXIX&amp;lt;/span&amp;gt;CV.&lt;br /&gt;
* Module handles decimal, fractional, and arithmetic expressions to a precision of 1/1728. {{green|Uses &amp;lt;code&amp;gt;#expr:&amp;lt;/code&amp;gt; at line 118.}}&lt;br /&gt;
&lt;br /&gt;
==Handling tricky cases (like 0.00001 and 99.99999)==&lt;br /&gt;
# Find the Roman numerals for the integer part of the number.&lt;br /&gt;
# If the number is not an integer:&lt;br /&gt;
#* Add half of the smallest unit (1/1728) to simulate rounding instead of truncation.&lt;br /&gt;
#* Ensure this new result is between 1/1728 and 1727/1728. (actually 1.1/1728 and 1727.1/1728 due to floating point rounding issues)&lt;br /&gt;
# Hence, 0.00001 is guaranteed to have at least the smallest unit symbol (instead of being blank or 0), and 99.99999 does not display as 100 or 99 and 2 halves.&lt;br /&gt;
&lt;br /&gt;
==Validation==&lt;br /&gt;
*[[Template:Roman/testcases]]&lt;br /&gt;
*[[Module:Roman/testcases]] - does not contain fractional/decimal tests&lt;br /&gt;
*The template supports subst: and safesubst:.&lt;/div&gt;</summary>
		<author><name>imported&gt;Tom.Reding</name></author>
	</entry>
</feed>