Module:Roman/doc: Difference between revisions

Content deleted Content added
ASiplas (talk | contribs)
oops meant to document sandbox version page—perhaps this is not possible
ASiplas (talk | contribs)
m fix botched syntax for indented child list
Line 4:
This module implements the {{tl|Roman}} template. For behavioral documentation, please see the template page. For test cases, please see [[Template:Roman/testcases]].
 
* '''[[Module:Roman/Sandboxsandbox]]''' version pending discussion / protected edit:
:* Supports two-way conversion—given MMXVIII will print 2018; given 2018 will print MMXVIII.
:* Converts argument containing Roman Numeral (IVX…) as conversion to [[Arabic Numerals]] (e.g. 2018) '''otherwise''' treated as conversion to [[Roman Numerals]] (e.g. MMXVIII).
:* Case or spacing within Roman Numeral argument make no difference.
* '''Current''' version
:* Module supports 0 as a Roman numeral, displays as 'N'.
:* Prior to 25 April 2016, used to display 69105 as <span style="text-decoration:overline;">LXV</span>MMMMCV. With the addition of <span style="text-decoration:overline;">IX</span> and <span style="text-decoration:overline;">IV</span> being 9000 and 4000 respectively, we now display 69105 as <span style="text-decoration:overline;">LXIX</span>CV.
:* Module handles decimal, fractional, and arithmetic expressions to a precision of 1/1728. {{green|Uses <code>#expr:</code> at line 118.}}
 
==Handling tricky cases (like 0.00001 and 99.99999)==