Function parseRomanNumerals

Converts a string of Roman numerals to a number, like parseInt for Roman numerals. Uses modern, strict rules (only 1 to 3999).

The string can include ASCII representations of Roman numerals or Unicode Roman numeral code points (U+2160 through U+217F).

  • Parameters

    • romanNumerals: string

    Returns number