Wandelt Zahlen in römische Ziffern und römische Ziffern zurück in Zahlen, von 1 bis 3.999.999, wobei für Werte über 3.999 die Vinculum-Schreibweise verwendet wird.
Gewöhnliche römische Ziffern enden bei 3.999, weil es keinen einzelnen Buchstaben für etwas Größeres als M gibt. Das Vinculum erweitert das System: Ein Strich über einem Buchstaben multipliziert ihn mit tausend, ein überstrichenes V ist also fünftausend und ein überstrichenes M eine Million. Der Strich wird hier mit kombinierenden Überstrich-Zeichen gesetzt, die in modernen Browsern korrekt erscheinen und das Kopieren und Einfügen überstehen. Subtraktive Paare — IV, IX, XL, XC, CD, CM — werden in der heute üblichen Form verwendet, vier ist also IV und nicht IIII, und der Parser akzeptiert dieselbe Konvention beim Zurücklesen.
Wie die Schreibweise funktioniert
-
Subtraktive Paare sind begrenzt:
gültig sind nur IV, IX, XL, XC, CD und CM. IL für neunundvierzig ist nicht normgerecht und wird hier nicht erzeugt.
-
Ein Strich multipliziert mit tausend:
das Vinculum ist die römische Schreibweise für große Zahlen, und deshalb liegt die Obergrenze hier knapp unter vier Millionen statt bei 3.999.
-
Es gibt keine Null und keine negativen Zahlen:
das System hat für beides kein Zeichen, was einer der Gründe ist, weshalb es zum Rechnen verdrängt wurde.
-
Auf Zifferblättern steht oft IIII:
die Form mit vier Strichen erscheint aus langer Tradition auf Uhren, vor allem als optisches Gegengewicht zu VIII. Beide Formen sind historisch belegt.
Why the range extends past the usual 3,999 ceiling
Standard Roman numerals stop at 3,999 because there is no single letter standing for anything larger than M. The [msm_tool slug="roman-numerals"] extends past that using the vinculum — a bar over a letter that multiplies its value by a thousand, so a barred V represents five thousand and a barred M represents a million — which is how the range here reaches all the way to 3,999,999. The bar itself is rendered with combining overline characters, which display correctly in modern browsers and survive being copied and pasted elsewhere.
Subtractive pairs are a fixed, short list
Only six subtractive pairs are valid in the standard modern form — IV, IX, XL, XC, CD and CM — which is why four is written IV rather than IIII, and why a form like IL for forty-nine, however logical it might look by the same pattern, is not standard and is never produced here. The parser reading numerals back in applies the identical six-pair convention.
No zero, and no negative numbers
The Roman numeral system has no symbol for zero and no way to represent a negative value, a genuine structural gap rather than an oversight in this particular implementation. That absence is a real part of why positional decimal notation eventually displaced Roman numerals for actual calculation.
IIII on a clock face is not a mistake
The subtractive IV is the modern standard and what this tool produces, but the four-strokes form IIII has its own long history and still appears on clock faces by tradition, partly for the visual balance it creates against VIII on the opposite side of the dial. Both forms have genuine historical precedent; only one of them is what a converter following the modern standard should output.