<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://nssportwiki.com/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://nssportwiki.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ARoman%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Module:Roman/doc&amp;action=history"/>
	<updated>2026-05-16T02:53:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://nssportwiki.com/index.php?title=Module:Roman/doc&amp;diff=70821&amp;oldid=prev</id>
		<title>Osarius: Created page with &quot;This module implements the {{Tl|Roman}} template. For behavioral documentation, please see the template page. For test cases, please see Template:Roman/testcases.  * Module supports 0 as a Roman numeral, displays as &#039;N&#039;. * Prior to 25 April 2016, used to display 69105 as &lt;span style=&quot;text-decoration:overline;&quot;&gt;LXV&lt;/span&gt;MMMMCV. With the addition of &lt;span style=&quot;text-decoration:overline;&quot;&gt;IX&lt;/span&gt; and &lt;span style=&quot;text-decoration:overline;&quot;&gt;IV&lt;/span&gt; being 9000 and 4...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Module:Roman/doc&amp;diff=70821&amp;oldid=prev"/>
		<updated>2025-09-29T10:25:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This module implements the {{Tl|Roman}} template. For behavioral documentation, please see the template page. For test cases, please see &lt;a href=&quot;/index.php?title=Template:Roman/testcases&quot; title=&quot;Template:Roman/testcases&quot;&gt;Template:Roman/testcases&lt;/a&gt;.  * Module supports 0 as a Roman numeral, displays as &amp;#039;N&amp;#039;. * 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 4...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&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 122.}}&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 &amp;lt;code&amp;gt;subst:&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;safesubst:&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[pt:Módulo:Roman/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osarius</name></author>
	</entry>
</feed>