Roman Numeral Converter

Convert whole numbers to standard Roman numerals and convert valid Roman numeral strings back to numbers.

Standard formula
Standard symbols: I=1, V=5, X=10, L=50, C=100, D=500, M=1000. Subtractive pairs include IV, IX, XL, XC, CD and CM.