Template:Roman-to-arabic/doc

From Wikisource
Jump to navigation Jump to search

Converts a Roman Numeral i.e. string of one or more [IVXLCDM] into Arabic Numerals; works tested for numbers within I–MMMCMXCIX (1–3999) see Module:Roman/testcases.

Examples[edit]

{{roman-to-arabic|XCIX}} 99
{{roman-to-arabic|CDLXXVI}} 476
{{roman-to-arabic|MCMLXVII}} 1967
{{roman-to-arabic|MMXVIII}} 2018
{{roman-to-arabic|MMMCMXCIX}} 3999

See also[edit]