Strict Roman numeral validation ยท 1โ€“3,999

Roman numeral to number

Convert canonical Roman notation into a decimal integer locally, with validation, components and a deterministic correction for noncanonical spellings.