Conversor de Números Romanos — Fórmula
## Roman Numeral Conversion
### Roman Numeral Symbols
| Symbol | Value |
|--------|-------|
| I | 1 |
| V | 5 |
| X | 10 |
| L | 50 |
| C | 100 |
| D | 500 |
| M | 1000 |
### Rules
1. Symbols are generally written from largest to smallest, left to right
2. If a smaller symbol appears before a larger one, subtract it (e.g., IV = 4, IX = 9)
3. The same symbol can be repeated up to 3 times in a row
### Example: 2024 = MMXXIV
- 2000 = MM
- 20 = XX
- 4 = IV
### Roman Numeral Symbols
| Symbol | Value |
|--------|-------|
| I | 1 |
| V | 5 |
| X | 10 |
| L | 50 |
| C | 100 |
| D | 500 |
| M | 1000 |
### Rules
1. Symbols are generally written from largest to smallest, left to right
2. If a smaller symbol appears before a larger one, subtract it (e.g., IV = 4, IX = 9)
3. The same symbol can be repeated up to 3 times in a row
### Example: 2024 = MMXXIV
- 2000 = MM
- 20 = XX
- 4 = IV
Ejemplo Resuelto
Convert 2024 to Roman numerals.
- Thousands: floor(2024/1000) = 2 → MM
- Hundreds: floor(24/100) = 0 → (none)
- Tens: floor(24/10) = 2 → XX
- Ones: 4 → IV
- Result: MMXXIV