Talk:Roman numerals/Decode: Difference between revisions

Content added Content deleted
m (→‎Roman numeral numbers: added whitespace, corrected some typos and misspellings.)
m (→‎Roman numeral, returning an integer: added more whitespace and a comment.)
Line 23: Line 23:
==Roman numeral, returning an integer==
==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, that 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)
This task asks 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, that 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 (for weight)   pounds and ounces, where the troy pound contains 12 ounces.   An '''ounce''' is also used as a unit of time.   -- [[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)
:We aren't doing fractions here. In general "Roman numerals" refers to the the integers. --[[User:Mwn3d|Mwn3d]] 19:50, 18 July 2012 (UTC)