Talk:Roman numerals/Decode: Difference between revisions

m
corrected a misspelling.
(added query about Roman fractions, also added a thanks. -- ~~~~)
m (corrected a misspelling.)
 
(5 intermediate revisions by 2 users not shown)
Line 1:
== I for one like Roman numerals ==
'Nuff said.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 13:20, 29 November 2019 (UTC)
 
== Hello ==
Hello<br>
My code http://rosettacode.org/wiki/Roman_numerals/Encode#Prolog works in both ways Roman => Arabic and Arabic => Roman. It can be published in this page. [[user:Trap D]] 13/05/2011 18:25
Line 4 ⟶ 8:
==Roman numeral numbers==
 
I feel that any legal Roman numeral number (such as <tt>&nbsp; '''IIII''' </tt>&nbsp; should be converted correctelycorrectly and without error. The Romans started using <tt>&nbsp; '''IV''' </tt>&nbsp; (and others) &nbsp; after they realized the praticablenesspracticability of shortening their numbers, especially those having <tt>&nbsp; 8s'''8'''s </tt>&nbsp; in them; &nbsp; easily justified when chiseling those numbers in stone or scribinginscribing 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)
 
FurthermoreAlso, thenumbers Latinsuch wordas for&nbsp; '''eighteenIIXX''' is&nbsp; '''duodeviginti'''should whichalso literallybe meansconverted '''two-from-twenty'''correctly, oras '''IIXX'''they do appear on old structures and tombstones. &nbsp; Even though modern rules say such a construct may be invalid, the number still has an equivalent decimal number. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] 2103:3453, 925 JulyApril 2012 (UTC)
 
Furthermore, the Latin word for &nbsp; '''eighteen''' &nbsp; is &nbsp; '''duodeviginti''' &nbsp; which literally means &nbsp; '''two-from-twenty''', &nbsp; or in Roman numbers; &nbsp; '''IIXX'''. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] 21:34, 9 July 2012 (UTC)
 
==asking for help==
Line 22 ⟶ 27:
==Roman numeral, returning an integer==
 
This task askesasks to take a Roman numeral (as its argument) &nbsp; and return a numeric decimal integer. &nbsp; 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)
 
What if the Roman numeral contains (or is) a fraction?
 
I presume then, that Roman numerals to be checked won't have fractions. &nbsp; The Romans had a base '''12''' fractional system. &nbsp; One-twelfth (fraction) &nbsp; is an &nbsp; ''ounce'' &nbsp; which we still use in (for weight) &nbsp; pounds and ounces, where the troy pound contains 12 ounces. &nbsp; An '''ounce''' is also used as a unit of time. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] 07:23, 11 July 2012 (UTC)
 
:We aren't doing fractions here. In general "Roman numerals" refers to the the integers. --[[User:Mwn3d|Mwn3d]] 19:50, 18 July 2012 (UTC)