FromRomanNumeral["string"]
gives the integer corresponding to the Roman numeral "string".


FromRomanNumeral
FromRomanNumeral["string"]
gives the integer corresponding to the Roman numeral "string".
Examples
open all close allBasic Examples (2)
Scope (3)
Roman numerals can be given in upper case, in lower case, or a mixture of both:
The numeral "N" represents the integer 0:
FromRomanNumeral threads automatically over lists of numerals:
Properties & Relations (2)
RomanNumeral converts a decimal integer into its Roman numeral form:
FromRomanNumeral["string"] is equivalent to FromDigits["string","Roman"]:
Possible Issues (1)
FromRomanNumeral can interpret nonstandard forms of Roman numerals:
In fact, any combination of valid digits is interpreted as an integer:
To check whether a given roman numeral is written in canonical form, compare to the output of RomanNumeral:
See Also
Related Guides
History
Text
Wolfram Research (2015), FromRomanNumeral, Wolfram Language function, https://reference.wolfram.com/language/ref/FromRomanNumeral.html.
CMS
Wolfram Language. 2015. "FromRomanNumeral." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FromRomanNumeral.html.
APA
Wolfram Language. (2015). FromRomanNumeral. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FromRomanNumeral.html
BibTeX
@misc{reference.wolfram_2025_fromromannumeral, author="Wolfram Research", title="{FromRomanNumeral}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/FromRomanNumeral.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_fromromannumeral, organization={Wolfram Research}, title={FromRomanNumeral}, year={2015}, url={https://reference.wolfram.com/language/ref/FromRomanNumeral.html}, note=[Accessed: 11-August-2025]}