Talk:Roman numerals/Decode: Difference between revisions

added query about Roman fractions, also added a thanks. -- ~~~~
(→‎Roman numeral numbers: added another comment about IIXX. -- ~~~~)
(added query about Roman fractions, also added a thanks. -- ~~~~)
Line 4:
==Roman numeral numbers==
 
I feel that any legal Roman numeral number (such as <tt> IIII </tt> should be converted correctely and without error. The Romans started using <tt> IV </tt> (and others) after they realized the praticableness of shortening their numbers, especially those having <tt> 8s </tt> in them; easily justified when chiseling those numbers in stone or scribing them in wet clay.
<br>Also, numbers such as <tt> IIXX </tt> should also be converted correctly, as they do appear on old structures and tombstones. Even though modern rules say such a construct is invalid, the number still has an equivalent decimal number. -- [[User:Gerard Schildberger|Gerard Schildberger]] 03:53, 25 April 2012 (UTC)
justified when chiseling those numbers in stone or scribing them in wet clay.
<br>Also, numbers such as <tt> IIXX </tt> should also be converted correctly, as they do appear on old structures and tombstones. Even
though modern rules say such a construct is invalid, the number still has an equivalent decimal number. -- [[User:Gerard Schildberger|Gerard Schildberger]] 03:53, 25 April 2012 (UTC)
 
Furthermore, the Latin word for '''eighteen''' is '''duodeviginti''' which literally means '''two-from-twenty''', or '''IIXX'''. -- [[User:Gerard Schildberger|Gerard Schildberger]] 21:34, 9 July 2012 (UTC)
Line 19 ⟶ 17:
 
It was a stray newline in the [[Template:Overline]] which I just now fixed. If you want to talk about HTML then you can escape it in the usual fashion, &amp;amp;br>, or you can use <nowiki><no</nowiki><nowiki>wiki><br></no</nowiki>wiki>. HTML inside of &lt;lang> blocks is also not interpreted. —[[User:Kevin Reid|Kevin Reid]] 19:37, 25 April 2012 (UTC)
 
: Thanks for the fix and the hints (albeit a wee bit late for the gratitude). -- [[User:Gerard Schildberger|Gerard Schildberger]] 07:23, 11 July 2012 (UTC)
 
==Roman numeral, returning an integer==
 
This task askes to take a Roman numeral (as its argument) and return a numeric decimal integer. This assumes that the Roman numeral is an integer. What if the Roman numeral contains (or is) a fraction? I presume then, no Roman numerals to be checked won't have fractions. The Romans had a base 12 fractional system. One-twelfth (fraction) is an ounce which we still use in pounds and ounces, where the troy pound contains 12 ounces. -- [[User:Gerard Schildberger|Gerard Schildberger]] 07:23, 11 July 2012 (UTC)