RomanNumeral
✖
RomanNumeral
Details

- Roman numerals are formed using combinations of the letters I, V, X, L, C, D, and M.
- The number 0 is represented as the numeral "N", the initial letter of the word nulla.
- RomanNumeral[n] for a negative integer n produces the result corresponding to the absolute value of n.
- For numbers above 4999, specifications for overbars are inserted into the string given as the result.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (5)Survey of the scope of standard use cases
Roman numerals are constructed using the letters I, V, X, L, C, D, and M:

https://wolfram.com/xid/0d6hcbtn90-f9pa6o

The integer 0 is represented using the numeral "N". No other Roman numeral contains the letter N:

https://wolfram.com/xid/0d6hcbtn90-6dcb8k

Beginning with 5000, integers have an overbar in their representation:

https://wolfram.com/xid/0d6hcbtn90-z04wc

Each additional factor of 1000 adds another overbar:

https://wolfram.com/xid/0d6hcbtn90-eiziys


https://wolfram.com/xid/0d6hcbtn90-ewsjib

RomanNumeral threads automatically over lists of integers:

https://wolfram.com/xid/0d6hcbtn90-hiua1p

Properties & Relations (4)Properties of the function, and connections to other functions
RomanNumeral returns strings in uppercase. Use ToLowerCase to convert to lowercase:

https://wolfram.com/xid/0d6hcbtn90-6ndjjp


https://wolfram.com/xid/0d6hcbtn90-rd1m6n

These are the possible repetitions and their counts in the first 4999 Roman numerals:

https://wolfram.com/xid/0d6hcbtn90-0dkkts

FromRomanNumeral converts a Roman numeral into its integer decimal form:

https://wolfram.com/xid/0d6hcbtn90-4zcdqv


https://wolfram.com/xid/0d6hcbtn90-p95dar

RomanNumeral[n] is equivalent to IntegerString[n,"Roman"]:

https://wolfram.com/xid/0d6hcbtn90-55cuha


https://wolfram.com/xid/0d6hcbtn90-y5hhpy

Wolfram Research (2015), RomanNumeral, Wolfram Language function, https://reference.wolfram.com/language/ref/RomanNumeral.html.
Text
Wolfram Research (2015), RomanNumeral, Wolfram Language function, https://reference.wolfram.com/language/ref/RomanNumeral.html.
Wolfram Research (2015), RomanNumeral, Wolfram Language function, https://reference.wolfram.com/language/ref/RomanNumeral.html.
CMS
Wolfram Language. 2015. "RomanNumeral." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RomanNumeral.html.
Wolfram Language. 2015. "RomanNumeral." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RomanNumeral.html.
APA
Wolfram Language. (2015). RomanNumeral. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RomanNumeral.html
Wolfram Language. (2015). RomanNumeral. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RomanNumeral.html
BibTeX
@misc{reference.wolfram_2025_romannumeral, author="Wolfram Research", title="{RomanNumeral}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/RomanNumeral.html}", note=[Accessed: 07-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_romannumeral, organization={Wolfram Research}, title={RomanNumeral}, year={2015}, url={https://reference.wolfram.com/language/ref/RomanNumeral.html}, note=[Accessed: 07-June-2025
]}