Convert numbers between Roman numeric system and modern one. More info
Symbol Value
I1
V5
X10
L50
C100
D500
M1000
E5000
Y10000

The real symbol for 5000 and 10000 are V and X, here changed for easiness of the script.

The script does check the validity of Roman inputs, but the max accepted value is 9999.