Render

Roman numeral converter

A tiny demo of the p/moul/x/daily/romannum library — the classic ToRoman / FromRoman kata. Pure and deterministic.

Examples

decimalroman
1I
4IV
9IX
14XIV
40XL
49XLIX
90XC
400CD
900CM
1994MCMXCIV
2024MMXXIV
3888MMMDCCCLXXXVIII
3999MMMCMXCIX

Try it

  • :/<n> — integer → Roman, e.g. :/2024 → MMXXIV
  • :/r/<roman> — Roman → integer, e.g. :/r/MMXXIV → 2024

Transactions

Calls, deploys, and child packages · indexed history

No indexed transactions for this realm yet.

Call function

No qfuncs for this package · calls stay disabled

Source (qfile)