Enter 2024 in number-to-Roman mode. The greedy table takes MM for 2,000, XX for 20 and IV for 4, leaving no remainder.
Expected evidence
The output is MMXXIV, the component equation is 2000 + 20 + 4 = 2024 and the round trip is 2024 ↔ MMXXIV. Switching direction and entering MMXXIV returns 2024.
Reproduce the complete check
Run the decimal input first, record the emitted components and equation, then switch direction and enter the exact Roman output. The returned decimal value must match the starting integer. This two-way check demonstrates the selected profile without turning one example into a universal historical rule.