Roman numerals
calc_romanConvert numbers to Roman numerals and back with strict validation that explains invalid forms, or write dates in Roman numerals using your chosen order and separator.
Instructions
Convert numbers to Roman numerals (1–3,999 in standard form; up to 3,999,999 with a vinculum bar, which multiplies by 1,000) and Roman numerals back to numbers with strict validation that explains mistakes (IIII, IC, VV, non-standard forms like IIX…) and the symbol-by-symbol working. Also writes a date in Roman numerals (day/month/year order and separator of your choice, years 1–3999). Web version: https://s3eidat.github.io/roman-numerals/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | date: YYYY-MM-DD. | |
| mode | Yes | to_roman (number → Roman), from_roman (Roman → number) or date. | |
| order | No | date: order of day, month, year. | dmy |
| roman | No | from_roman: the numeral, e.g. "MCMXCIV" (any case). | |
| number | No | to_roman: a whole number 1–3,999,999. | |
| separator | No | date: separator, e.g. " · ", ".", " - ", " / ". | · |